From: Alan Cox Date: Tue, 19 May 2015 22:18:06 +0000 (+0100) Subject: cpu-68000: provide a way to spot 32bit pointers X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=617f9c762a628aaf48f7a14366c99741031dfc3a;p=FUZIX.git cpu-68000: provide a way to spot 32bit pointers SDCC can't hack # if sizeof() --- diff --git a/Kernel/cpu-68000/cpu.h b/Kernel/cpu-68000/cpu.h index 4737c2c9..bfd7171f 100644 --- a/Kernel/cpu-68000/cpu.h +++ b/Kernel/cpu-68000/cpu.h @@ -53,6 +53,9 @@ typedef union { /* this structure is endian dependent */ #define VIDEO #define DISCARD +/* Pointers are 32bit */ +#define POINTER32 + /* Sane behaviour for unused parameters */ #define used(x)