aboutsummaryrefslogtreecommitdiff
path: root/system/include/stdbool.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-20 20:53:27 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-20 20:53:27 -0800
commitbae448ef2619fffb90021c96546cbccadc39ed20 (patch)
tree9312f3a87aee8d13fa4c5fd5ccdf88ebfc92cd2c /system/include/stdbool.h
parent78fde14808c0b075bd040d23b1d8cfb349c7cd84 (diff)
stdbool.h
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
+