stdbool.h should define __bool_true_false_are_defined even for C++
authorRich Felker <dalias@aerifal.cx>
Wed, 28 Aug 2013 04:41:00 +0000 (00:41 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 28 Aug 2013 04:41:00 +0000 (00:41 -0400)
commit38e6acbf89afd3dfabb4f4d0506319c339b13663
tree5939d9d6f171e7ef1cf9545185a0c0285c976a0e
parentebc87349fef4f460abc3991c58f38d76c309bc6b
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.
include/stdbool.h