From 5afdd1940368d9fb6694917f643cb782dc89939e Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Thu, 29 Mar 2012 11:28:46 +0100 Subject: [PATCH] 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 --- cpu/cc253x/8051def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/cc253x/8051def.h b/cpu/cc253x/8051def.h index 24b66c723..21a4ffcf7 100644 --- a/cpu/cc253x/8051def.h +++ b/cpu/cc253x/8051def.h @@ -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