From: MaartenBrock Date: Sun, 7 Jan 2007 17:10:12 +0000 (+0000) Subject: git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4562 4a8a32a2... X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=b78f480a8d1964bbf00046cd93ad092b5195b088;p=fw%2Fsdcc git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4562 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/port.h b/src/port.h index 93e03b41..d3e9a86d 100644 --- a/src/port.h +++ b/src/port.h @@ -26,14 +26,15 @@ */ #define TARGET_IS_MCS51 (port->id==TARGET_ID_MCS51) #define TARGET_IS_GBZ80 (port->id==TARGET_ID_GBZ80) -#define TARGET_IS_Z80 (port->id==TARGET_ID_Z80) -#define TARGET_IS_AVR (port->id==TARGET_ID_AVR) +#define TARGET_IS_Z80 (port->id==TARGET_ID_Z80) +#define TARGET_Z80_LIKE ((port->id==TARGET_ID_Z80) || (port->id==TARGET_ID_GBZ80)) +#define TARGET_IS_AVR (port->id==TARGET_ID_AVR) #define TARGET_IS_DS390 (port->id==TARGET_ID_DS390) #define TARGET_IS_DS400 (port->id==TARGET_ID_DS400) #define TARGET_IS_PIC (port->id==TARGET_ID_PIC) #define TARGET_IS_PIC16 (port->id==TARGET_ID_PIC16) -#define TARGET_IS_XA51 (port->id==TARGET_ID_XA51) -#define TARGET_IS_HC08 (port->id==TARGET_ID_HC08) +#define TARGET_IS_XA51 (port->id==TARGET_ID_XA51) +#define TARGET_IS_HC08 (port->id==TARGET_ID_HC08) #define MAX_BUILTIN_ARGS 16 /* definition of builtin functions */