aboutsummaryrefslogtreecommitdiff
path: root/tcc/include/stdbool.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcc/include/stdbool.h')
-rw-r--r--tcc/include/stdbool.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tcc/include/stdbool.h b/tcc/include/stdbool.h
new file mode 100644
index 0000000..d2ee446
--- /dev/null
+++ b/tcc/include/stdbool.h
@@ -0,0 +1,11 @@
+#ifndef _STDBOOL_H
+#define _STDBOOL_H
+
+/* ISOC99 boolean */
+
+#define bool _Bool
+#define true 1
+#define false 0
+#define __bool_true_false_are_defined 1
+
+#endif /* _STDBOOL_H */