1 /*===---- stdbool.h - Standard header for booleans -------------------------===
3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 * See https://llvm.org/LICENSE.txt for license information.
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 *===-----------------------------------------------------------------------===
13 /* Don't define bool, true, and false in C++, except as a GNU extension. */
18 #elif defined(__GNUC__) && !defined(__STRICT_ANSI__)
19 /* Define _Bool as a GNU extension. */
21 #if __cplusplus < 201103L
22 /* For C++98, define bool, false, true as a GNU extension. */
29 #define __bool_true_false_are_defined 1
31 #endif /* __STDBOOL_H */