aboutsummaryrefslogtreecommitdiff
path: root/system/include/stdbool.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-20 20:57:45 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-20 20:57:45 -0800
commit42e3aa5ad342e0b0d609212b8120abfddaccef2a (patch)
tree9cf64dc402fc996c4d63f232b5a28385b9a5ec4e /system/include/stdbool.h
parent9f00292b7c7fa0cf69b8704c23b092811a9f9cc1 (diff)
parentbae448ef2619fffb90021c96546cbccadc39ed20 (diff)
Merge branch 'master' into incoming
Diffstat (limited to 'system/include/stdbool.h')
-rw-r--r--system/include/stdbool.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/include/stdbool.h b/system/include/stdbool.h
new file mode 100644
index 00000000..f970ade8
--- /dev/null
+++ b/system/include/stdbool.h
@@ -0,0 +1,15 @@
+
+#ifndef __stdbool_h__
+#define __stdbool_h__
+
+#ifndef __cplusplus
+
+#define bool _Bool
+#define true 1
+#define false 0
+#define __bool_true_false_are_defined 1
+
+#endif
+
+#endif
+