From d3a6b0c6565cecd3d54e97532fab54f328d79afd Mon Sep 17 00:00:00 2001 From: Jens Maus Date: Wed, 8 Apr 2015 07:36:20 +0000 Subject: [PATCH] - changed FAR define to only define it empty in case __far does not exist (Gunther Nikl) --- SDI_compiler.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/SDI_compiler.h b/SDI_compiler.h index 6ea63ed..cb4f071 100644 --- a/SDI_compiler.h +++ b/SDI_compiler.h @@ -4,7 +4,7 @@ /* Includeheader Name: SDI_compiler.h - Versionstring: $VER: SDI_compiler.h 1.35 (03.03.2011) + Versionstring: $VER: SDI_compiler.h 1.36 (30.03.2015) Authors: Dirk Stoecker, Jens Maus Distribution: PD Project page: http://sf.net/p/adtools/code/HEAD/tree/trunk/sdi/ @@ -61,6 +61,8 @@ 1.34 26.07.10 : adapted IPTR and SIPTR definitions as the latest MorphOS SDK already contains them. (tboeckel) 1.35 03.03.11 : fixed AROS macros for m68k (Jason McMullan) + 1.36 30.03.15 : changed FAR define to only define it empty in case __far does not + exist (Gunther Nikl) */ @@ -159,7 +161,9 @@ #define INTERRUPT #define CHIP #endif - #define FAR + #if !defined(__far) + #define FAR /* __far NOT supported! */ + #endif #define NEAR #elif defined(_DCC) #define REG(reg,arg) __##reg arg