aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/stdbool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/stdbool.h b/include/stdbool.h
index 1e6bd6578c56d..f31e63e409f99 100644
--- a/include/stdbool.h
+++ b/include/stdbool.h
@@ -31,6 +31,8 @@
#define __bool_true_false_are_defined 1
+#ifndef __cplusplus
+
#define false 0
#define true 1
@@ -39,4 +41,6 @@
typedef int _Bool;
#endif
+#endif /* !__cplusplus */
+
#endif /* !_STDBOOL_H_ */