xref: /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__configuration/language.h (revision 700637cbb5e582861067a11aaca4d053546871d2)
1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef _LIBCPP___CXX03___CONFIGURATION_LANGUAGE_H
11 #define _LIBCPP___CXX03___CONFIGURATION_LANGUAGE_H
12 
13 #include <__cxx03/__configuration/config_site_shim.h>
14 
15 #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
16 #  pragma GCC system_header
17 #endif
18 
19 #if !defined(__cpp_rtti) || __cpp_rtti < 199711L
20 #  define _LIBCPP_HAS_NO_RTTI
21 #endif
22 
23 #if !defined(__cpp_exceptions) || __cpp_exceptions < 199711L
24 #  define _LIBCPP_HAS_NO_EXCEPTIONS
25 #endif
26 
27 #endif // _LIBCPP___CXX03___CONFIGURATION_LANGUAGE_H
28