cpu-68000: provide a way to spot 32bit pointers
authorAlan Cox <alan@linux.intel.com>
Tue, 19 May 2015 22:18:06 +0000 (23:18 +0100)
committerAlan Cox <alan@linux.intel.com>
Tue, 19 May 2015 22:18:06 +0000 (23:18 +0100)
SDCC can't hack # if sizeof()

Kernel/cpu-68000/cpu.h

index 4737c2c..bfd7171 100644 (file)
@@ -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)