Adjusted check to determine if we are being built with SDCC

Since rev #7342, SDCC defines __SDCC_mcs51 instead of SDCC_mcs51.
We check for either
This commit is contained in:
George Oikonomou 2012-03-29 11:28:46 +01:00
parent 4f1e251603
commit 5afdd19403
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ typedef unsigned short uip_stats_t;
#define CLIF
/* Single asm instruction without messing up syntax highlighting */
#if defined SDCC_mcs51
#if defined(__SDCC_mcs51) || defined(SDCC_mcs51)
#define ASM(x) __asm \
x \
__endasm