mirror of https://github.com/ARMmbed/mbed-os.git
CMSIS/RTX: Fix using FALSE/TRUE with preprocesor
(cherry picked from commit dd21ea0ae0
)
pull/12949/head
parent
94d9406621
commit
f7dc7e92c8
|
@ -35,11 +35,11 @@
|
|||
typedef bool bool_t;
|
||||
|
||||
#ifndef FALSE
|
||||
#define FALSE ((bool_t)0)
|
||||
#define FALSE (0)
|
||||
#endif
|
||||
|
||||
#ifndef TRUE
|
||||
#define TRUE ((bool_t)1)
|
||||
#define TRUE (1)
|
||||
#endif
|
||||
|
||||
#ifdef RTE_CMSIS_RTOS2_RTX5_ARMV8M_NS
|
||||
|
|
Loading…
Reference in New Issue