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:
parent
4f1e251603
commit
5afdd19403
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ typedef unsigned short uip_stats_t;
|
||||||
#define CLIF
|
#define CLIF
|
||||||
|
|
||||||
/* Single asm instruction without messing up syntax highlighting */
|
/* Single asm instruction without messing up syntax highlighting */
|
||||||
#if defined SDCC_mcs51
|
#if defined(__SDCC_mcs51) || defined(SDCC_mcs51)
|
||||||
#define ASM(x) __asm \
|
#define ASM(x) __asm \
|
||||||
x \
|
x \
|
||||||
__endasm
|
__endasm
|
||||||
|
|
Loading…
Reference in a new issue