mirror of https://github.com/ARMmbed/mbed-os.git
CMSIS/RTX: Fix using FALSE/TRUE with preprocesor
(cherry picked from commit 1752803626
)
pull/7875/head
parent
67b677d285
commit
b7efe36125
|
@ -33,8 +33,8 @@
|
|||
|
||||
#include <stdbool.h>
|
||||
typedef bool bool_t;
|
||||
#define FALSE ((bool_t)0)
|
||||
#define TRUE ((bool_t)1)
|
||||
#define FALSE (0)
|
||||
#define TRUE (1)
|
||||
|
||||
#ifdef RTE_CMSIS_RTOS2_RTX5_ARMV8M_NS
|
||||
#define DOMAIN_NS 1
|
||||
|
|
Loading…
Reference in New Issue