提交 38e6acbf 编写于 作者: R Rich Felker

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.
上级 ebc87349
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
#define false 0 #define false 0
#define bool _Bool #define bool _Bool
#define __bool_true_false_are_defined 1
#endif #endif
#define __bool_true_false_are_defined 1
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册