Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 1 | #ifndef _STDBOOL_H |
2 | #define _STDBOOL_H | ||||
3 | |||||
4 | #ifndef __cplusplus | ||||
5 | |||||
6 | #define true 1 | ||||
7 | #define false 0 | ||||
Rich Felker | d23a543 | 2011-09-20 14:51:56 -0400 | [diff] [blame^] | 8 | #define bool _Bool |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 9 | |
Rich Felker | d23a543 | 2011-09-20 14:51:56 -0400 | [diff] [blame^] | 10 | #define __bool_true_false_are_defined 1 |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 11 | |
12 | #endif | ||||
13 | |||||
14 | #endif |