stdbool.h 331 B

12345678910111213141516
  1. #ifndef stdbool_h
  2. #define stdbool_h
  3. #include <wtypes.h>
  4. /* MSVC doesn't define _Bool or bool in C, but does have BOOL */
  5. /* Note this doesn't pass autoconf's test because (bool) 0.5 != true */
  6. typedef BOOL _Bool;
  7. #define bool _Bool
  8. #define true 1
  9. #define false 0
  10. #define __bool_true_false_are_defined 1
  11. #endif /* stdbool_h */