ref: 23de65bc68d09e469e5d587867eee4f497a1a6de
parent: 22e63b76976fd232a2e40e30845d35eca6325b02
author: sin <sin@2f30.org>
date: Wed Aug 1 11:16:03 EDT 2018
[lib/c] Fix true/false definitions They need to expand to integer constants according to the C99 standard.
--- a/lib/c/include/stdbool.h
+++ b/lib/c/include/stdbool.h
@@ -2,8 +2,8 @@
#define _STDBOOL_H
#define bool _Bool
-#define true ((bool) 1)
-#define false ((bool) 0)
+#define true 1
+#define false 0
#define __bool_true_false_are_defined 1
#endif