Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/tools/include/nolibc/stdbool.h
26289 views
1
/* SPDX-License-Identifier: LGPL-2.1 OR MIT */
2
/*
3
* Boolean types support for NOLIBC
4
* Copyright (C) 2024 Thomas Weißschuh <[email protected]>
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
18