1 /* 2 * missing/stdbool.h: Quick alternative of C99 stdbool.h 3 */ 4 5 #ifndef _MISSING_STDBOOL_H_ 6 #define _MISSING_STDBOOL_H_ 7 8 #ifndef __cplusplus 9 10 #define bool _Bool 11 #define true 1 12 #define false 0 13 14 #ifndef HAVE__BOOL /* AC_HEADER_STDBOOL in configure.ac */ 15 typedef int _Bool; 16 #endif /* HAVE__BOOL */ 17 18 #endif /* __cplusplus */ 19 20 #endif /* _MISSING_STDBOOL_H_ */ 21