stdbool.h 413 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) mlibc & plct lab
  3. *
  4. * SPDX-License-Identifier: MIT
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2023/06/16 bernard the first verison
  9. */
  10. #ifndef MLIBC_STDBOOL_H__
  11. #define MLIBC_STDBOOL_H__
  12. #define __bool_true_false_are_defined 1
  13. #ifndef __cplusplus
  14. #define bool _Bool
  15. #define false 0
  16. #define true 1
  17. #endif /* __cplusplus */
  18. #endif /*MLIBC_STDBOOL_H__*/