diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-08-28 00:41:00 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-08-28 00:41:00 -0400 |
commit | 38e6acbf89afd3dfabb4f4d0506319c339b13663 (patch) | |
tree | 5939d9d6f171e7ef1cf9545185a0c0285c976a0e /include | |
parent | ebc87349fef4f460abc3991c58f38d76c309bc6b (diff) | |
download | musl-38e6acbf89afd3dfabb4f4d0506319c339b13663.tar.gz musl-38e6acbf89afd3dfabb4f4d0506319c339b13663.tar.bz2 musl-38e6acbf89afd3dfabb4f4d0506319c339b13663.tar.xz musl-38e6acbf89afd3dfabb4f4d0506319c339b13663.zip |
stdbool.h should define __bool_true_false_are_defined even for C++
while the incorporation of this requirement from C99 into C++11 was
likely an accident, some software expects it to be defined, and it
doesn't hurt. if the requirement is removed, then presumably
__bool_true_false_are_defined would just be in the implementation
namespace and thus defining it would still be legal.
Diffstat (limited to 'include')
-rw-r--r-- | include/stdbool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdbool.h b/include/stdbool.h index 420c332c..a9d7ab78 100644 --- a/include/stdbool.h +++ b/include/stdbool.h @@ -7,8 +7,8 @@ #define false 0 #define bool _Bool -#define __bool_true_false_are_defined 1 - #endif +#define __bool_true_false_are_defined 1 + #endif |