stdbool.h 330 B

12345678910111213141516
  1. /* SPDX-License-Identifier: LGPL-2.1 OR MIT */
  2. /*
  3. * Boolean types support for NOLIBC
  4. * Copyright (C) 2024 Thomas Weißschuh <linux@weissschuh.net>
  5. */
  6. #ifndef _NOLIBC_STDBOOL_H
  7. #define _NOLIBC_STDBOOL_H
  8. #define bool _Bool
  9. #define true 1
  10. #define false 0
  11. #define __bool_true_false_are_defined 1
  12. #endif /* _NOLIBC_STDBOOL_H */