commit dc40bafa82c336fa2c05d4fab11e5639a85ec3c6
Author: Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Fri Feb 17 11:12:42 2017 +0100
Commit: Roberto E. Vargas Caballero <[email protected]>
CommitDate: Fri Feb 17 11:12:42 2017 +0100
[libc] Add stdbool.h
diff --git a/libc/include/stdbool.h b/libc/include/stdbool.h
new file mode 100644
index 0000000..31d8c73
--- /dev/null
+++ b/libc/include/stdbool.h
@@ -0,0 +1,10 @@
+/* See LICENSE file for copyright and license details. */
+#ifndef _STDBOOL_H
+#define _STDBOOL_H
+
+#define bool _Bool
+#define true ((bool) 1)
+#define false ((bool) 0)
+#define __bool_true_false_are_defined 1
+
+#endif