aboutsummaryrefslogtreecommitdiffstats
path: root/lib/roken/stdbool.hin
diff options
context:
space:
mode:
Diffstat (limited to 'lib/roken/stdbool.hin')
-rw-r--r--lib/roken/stdbool.hin13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/roken/stdbool.hin b/lib/roken/stdbool.hin
new file mode 100644
index 000000000000..cdaee5b5d6cd
--- /dev/null
+++ b/lib/roken/stdbool.hin
@@ -0,0 +1,13 @@
+#ifndef _STDBOOL_H
+#define _STDBOOL_H
+
+#ifndef __GNUC__
+typedef int _Bool;
+#endif
+
+#define bool _Bool
+#define true 1
+#define false 0
+#define __bool_true_false_are_defined 1
+
+#endif /* _STDBOOL_H */