xref: /linux/tools/include/nolibc/stdbool.h (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
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 
7 #ifndef _NOLIBC_STDBOOL_H
8 #define _NOLIBC_STDBOOL_H
9 
10 #define bool _Bool
11 #define true 1
12 #define false 0
13 
14 #define __bool_true_false_are_defined 1
15 
16 #endif /* _NOLIBC_STDBOOL_H */
17