summaryrefslogtreecommitdiff
path: root/include/stdbool.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stdbool.h')
-rw-r--r--include/stdbool.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/stdbool.h b/include/stdbool.h
new file mode 100644
index 0000000..f96b223
--- /dev/null
+++ b/include/stdbool.h
@@ -0,0 +1,17 @@
+/*
+ * stdbool.h
+ *
+ * Defines bool, true and false
+ */
+
+#ifndef _STDBOOL_H
+#define _STDBOOL_H
+
+typedef char bool;
+
+#undef false
+#define false 0
+#undef true
+#define true 1
+
+#endif