* m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL):
__bool_true_false_are_defined is still defined, even with C++11.
+2016-05-31 Paul Eggert <eggert@cs.ucla.edu>
+
+ stdbool: Restore __bool_true_false_are_defined check
+ * m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL):
+ __bool_true_false_are_defined is still defined, even with C++11.
+
2016-05-31 David Seifert <soap@gentoo.org> (tiny change)
stdbool: Port AC_CHECK_HEADER_STDBOOL to C++11
[[
#include <stdbool.h>
- #if __cplusplus < 201103L
+ #if __cplusplus < 201103
#ifndef bool
"error: bool is not defined"
#endif
#if true != 1
"error: true is not 1"
#endif
- #ifndef __bool_true_false_are_defined
- "error: __bool_true_false_are_defined is not defined"
- #endif
+ #endif
+
+ #ifndef __bool_true_false_are_defined
+ "error: __bool_true_false_are_defined is not defined"
#endif
struct s { _Bool s: 1; _Bool t; } s;