summaryrefslogtreecommitdiffstats
path: root/include/stdbool.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stdbool.h')
-rw-r--r--include/stdbool.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/include/stdbool.h b/include/stdbool.h
index 474ac9c..84c7fa5 100644
--- a/include/stdbool.h
+++ b/include/stdbool.h
@@ -26,21 +26,18 @@
* $FreeBSD$
*/
-/* This should be compliant with the ANSI C99 definition */
-
-#ifndef _STDBOOL_H_
+#ifndef _STDBOOL_H_
#define _STDBOOL_H_
-#define __bool_true_false_are_defined 1
+#define __bool_true_false_are_defined 1
/* And those constants must also be available as macros */
#define false 0
#define true 1
-/* User visible type `bool' is provided as a macro which may be redefined */
-#define bool _Bool
+#define bool _Bool
#if __STDC_VERSION__ < 199901L
-typedef int _Bool; /* not built into pre-C99 compilers */
+typedef int _Bool;
#endif
-#endif /* _STDBOOL_H_ */
+#endif /* !_STDBOOL_H_ */
OpenPOWER on IntegriCloud