For conformance to ISO C the stdbool.h header has to provide the macro __bool_true_false_are_defined (defined to 1). Yep, that name is really in the standard.
Unified · Split
| @@ -6,5 +6,6 @@ · 5 unmodified lines | ||
| 6 | 6 | #define bool _Bool |
| 7 | 7 | #define true 1 |
| 8 | 8 | #define false 0 |
| 9 | +#define __bool_true_false_are_defined 1 | |
| 9 | 10 | |
| 10 | 11 | #endif /* _STDBOOL_H */ |