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