Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-03 08:14:08

0001 // -*- C++ -*-
0002 //===----------------------------------------------------------------------===//
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009 
0010 #ifndef _LIBCPP_STDBOOL_H
0011 #define _LIBCPP_STDBOOL_H
0012 
0013 /*
0014     stdbool.h synopsis
0015 
0016 Macros:
0017 
0018     __bool_true_false_are_defined
0019 
0020 */
0021 
0022 #if defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0023 #  include <__cxx03/stdbool.h>
0024 #else
0025 #  include <__config>
0026 
0027 #  if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0028 #    pragma GCC system_header
0029 #  endif
0030 
0031 #  if __has_include_next(<stdbool.h>)
0032 #    include_next <stdbool.h>
0033 #  endif
0034 
0035 #  ifdef __cplusplus
0036 #    undef bool
0037 #    undef true
0038 #    undef false
0039 #    undef __bool_true_false_are_defined
0040 #    define __bool_true_false_are_defined 1
0041 #  endif
0042 #endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0043 
0044 #endif // _LIBCPP_STDBOOL_H