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 | #define bool _Bool | 6 | #define bool _Bool |
| 7 | #define true 1 | 7 | #define true 1 |
| 8 | #define false 0 | 8 | #define false 0 |
| 9 | #define __bool_true_false_are_defined 1 | ||
| 9 | 10 | ||
| 10 | #endif /* _STDBOOL_H */ | 11 | #endif /* _STDBOOL_H */ |