mbed-rtos // fixed error.h

Dependents:   USBHost

Fork of mbed-rtos by mbed official

Revision:
17:771275db0efe
Parent:
16:f88660a9bed1
Child:
18:710466f5cf33
--- a/rtx/RTX_CM_lib.h	Thu Jan 23 17:30:07 2014 +0000
+++ b/rtx/RTX_CM_lib.h	Mon Mar 10 11:45:09 2014 +0000
@@ -202,25 +202,25 @@
 #ifdef TARGET_LPC1768
 #define INITIAL_SP            (0x10008000UL)
 
-#elif TARGET_LPC11U24
+#elif defined(TARGET_LPC11U24)
 #define INITIAL_SP            (0x10002000UL)
 
-#elif TARGET_LPC11U35_401
+#elif defined(TARGET_LPC11U35_401)
 #define INITIAL_SP            (0x10002000UL)
 
-#elif TARGET_LPC1114
+#elif defined(TARGET_LPC1114)
 #define INITIAL_SP            (0x10001000UL)
 
-#elif TARGET_LPC812
+#elif defined(TARGET_LPC812)
 #define INITIAL_SP            (0x10001000UL)
 
-#elif TARGET_KL25Z
+#elif defined(TARGET_KL25Z)
 #define INITIAL_SP            (0x20003000UL)
 
-#elif TARGET_LPC4088
+#elif defined(TARGET_LPC4088)
 #define INITIAL_SP            (0x10010000UL)
 
-#elif TARGET_LPC1347
+#elif defined(TARGET_LPC1347)
 #define INITIAL_SP            (0x10002000UL)
 
 #endif