summaryrefslogtreecommitdiff
path: root/nuttx/include/stdbool.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-21 20:09:32 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-21 20:09:32 +0000
commit1b917134adffafb33057be34683b5f73807aeca8 (patch)
treea548cfe35af25a0d7b7b3a8a304784c334aecdb6 /nuttx/include/stdbool.h
parent2e885817755dbb96fa4183a312ea181b28bb70b1 (diff)
downloadpx4-nuttx-1b917134adffafb33057be34683b5f73807aeca8.tar.gz
px4-nuttx-1b917134adffafb33057be34683b5f73807aeca8.tar.bz2
px4-nuttx-1b917134adffafb33057be34683b5f73807aeca8.zip
Patches from Petteri Aimonen (plus a few other things)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5448 42af7a65-404d-4744-a932-0658087f49c3
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