Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
560 B

  1. /* stdbool.h for GNU. */
  2. #ifndef __STDBOOL_H__
  3. #define __STDBOOL_H__ 1
  4. #ifndef __cplusplus
  5. /* The type `bool' must promote to `int' or `unsigned int'. The constants
  6. `true' and `false' must have the value 0 and 1 respectively. */
  7. typedef enum
  8. {
  9. #if !TARGET_OS_WIN32
  10. false = 0,
  11. true = 1
  12. #endif
  13. } bool;
  14. /* The names `true' and `false' must also be made available as macros. */
  15. #define false false
  16. #define true true
  17. #endif
  18. /* Signal that all the definitions are present. */
  19. #define __bool_true_false_are_defined 1
  20. #endif /* stdbool.h */