[hackers] [scc] [libc] Add stdbool.h || Roberto E. Vargas Caballero
commit dc40bafa82c336fa2c05d4fab11e5639a85ec3c6
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Feb 17 11:12:42 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
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
_AT_@ -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
Received on Fri Feb 17 2017 - 11:12:57 CET
This archive was generated by hypermail 2.3.0
: Fri Feb 17 2017 - 11:24:23 CET