aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2013-03-04 16:07:43 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2013-03-04 16:07:43 +0700
commit057ab746dfa96de94f5173531e7839d271d71c5a (patch)
tree36c103f6215a2cecc9d1c30bad4db9482b3bbb28 /system
parentab45ff99a7ebae47372492f7f1d445e4892aaf7e (diff)
Ensure __bool_true_false_are_defined is defined.
Previously, when compiling in C++ mode, this wasn't defined which led to test failures for the libcxx test suite. This now behaves like it does on other platforms.
Diffstat (limited to 'system')
-rw-r--r--system/include/stdbool.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/include/stdbool.h b/system/include/stdbool.h
index f970ade8..561eed3f 100644
--- a/system/include/stdbool.h
+++ b/system/include/stdbool.h
@@ -2,12 +2,13 @@
#ifndef __stdbool_h__
#define __stdbool_h__
+#define __bool_true_false_are_defined 1
+
#ifndef __cplusplus
#define bool _Bool
#define true 1
#define false 0
-#define __bool_true_false_are_defined 1
#endif