summaryrefslogtreecommitdiff
path: root/nuttx/include/stdbool.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/stdbool.h')
-rw-r--r--nuttx/include/stdbool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/include/stdbool.h b/nuttx/include/stdbool.h
index 9c16aee29..6c3302549 100644
--- a/nuttx/include/stdbool.h
+++ b/nuttx/include/stdbool.h
@@ -90,8 +90,8 @@
# define bool _Bool8
#endif
-#define true 1
-#define false 0
+#define true (bool)1
+#define false (bool)0
#define __bool_true_false_are_defined 1