From 617f9c762a628aaf48f7a14366c99741031dfc3a Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 19 May 2015 23:18:06 +0100 Subject: [PATCH] cpu-68000: provide a way to spot 32bit pointers SDCC can't hack # if sizeof() --- Kernel/cpu-68000/cpu.h | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.34.1