]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libc++/include/stdbool.h
Merge ^/head r340918 through r341763.
[FreeBSD/FreeBSD.git] / contrib / libc++ / include / stdbool.h
1 // -*- C++ -*-
2 //===--------------------------- stdbool.h --------------------------------===//
3 //
4 //                     The LLVM Compiler Infrastructure
5 //
6 // This file is dual licensed under the MIT and the University of Illinois Open
7 // Source Licenses. See LICENSE.TXT for details.
8 //
9 //===----------------------------------------------------------------------===//
10 #ifndef _LIBCPP_STDBOOL_H
11 #define _LIBCPP_STDBOOL_H
12
13
14 /*
15     stdbool.h synopsis
16
17 Macros:
18
19     __bool_true_false_are_defined
20
21 */
22
23 #include <__config>
24
25 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
26 #pragma GCC system_header
27 #endif
28
29 #include_next <stdbool.h>
30
31 #ifdef __cplusplus
32 #undef bool
33 #undef true
34 #undef false
35 #undef __bool_true_false_are_defined
36 #define __bool_true_false_are_defined 1
37 #endif
38
39 #endif  // _LIBCPP_STDBOOL_H