1 /* SPDX-License-Identifier: LGPL-2.1 OR MIT */ 1 /* SPDX-License-Identifier: LGPL-2.1 OR MIT */ 2 /* 2 /* 3 * Boolean types support for NOLIBC 3 * Boolean types support for NOLIBC 4 * Copyright (C) 2024 Thomas Weißschuh <linux 4 * Copyright (C) 2024 Thomas Weißschuh <linux@weissschuh.net> 5 */ 5 */ 6 6 7 #ifndef _NOLIBC_STDBOOL_H 7 #ifndef _NOLIBC_STDBOOL_H 8 #define _NOLIBC_STDBOOL_H 8 #define _NOLIBC_STDBOOL_H 9 9 10 #define bool _Bool 10 #define bool _Bool 11 #define true 1 11 #define true 1 12 #define false 0 12 #define false 0 13 13 14 #define __bool_true_false_are_defined 1 14 #define __bool_true_false_are_defined 1 15 15 16 #endif /* _NOLIBC_STDBOOL_H */ 16 #endif /* _NOLIBC_STDBOOL_H */ 17 17
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.