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 | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 10 | #endif |
11 | |||||
Rich Felker | 38e6acb | 2013-08-28 00:41:00 -0400 | [diff] [blame] | 12 | #define __bool_true_false_are_defined 1 |
13 | |||||
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 14 | #endif |