xref: /linux/tools/include/nolibc/stdbool.h (revision f6953f1f9ec4ad68651d7c677f0c065cb4c1edf7)
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