michael@0: #ifndef stdbool_h michael@0: #define stdbool_h michael@0: michael@0: #include michael@0: michael@0: /* MSVC doesn't define _Bool or bool in C, but does have BOOL */ michael@0: /* Note this doesn't pass autoconf's test because (bool) 0.5 != true */ michael@0: typedef BOOL _Bool; michael@0: michael@0: #define bool _Bool michael@0: #define true 1 michael@0: #define false 0 michael@0: michael@0: #define __bool_true_false_are_defined 1 michael@0: michael@0: #endif /* stdbool_h */