xref: /llvm-project/libcxx/include/__cxx03/__configuration/config_site_shim.h (revision b9a2658a3e8bd13b0f9e7a8a440832a95b377216)
1 //===----------------------------------------------------------------------===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef _LIBCPP___CXX03___CONFIGURATION_CONFIG_SITE_SHIM_H
10 #define _LIBCPP___CXX03___CONFIGURATION_CONFIG_SITE_SHIM_H
11 
12 #include <__config_site>
13 
14 #if !_LIBCPP_ABI_FORCE_ITANIUM
15 #  undef _LIBCPP_ABI_FORCE_ITANIUM
16 #endif
17 
18 #if !_LIBCPP_ABI_FORCE_MICROSOFT
19 #  undef _LIBCPP_ABI_FORCE_MICROSOFT
20 #endif
21 
22 #if !_LIBCPP_HAS_THREADS
23 #  define _LIBCPP_HAS_NO_THREADS
24 #endif
25 
26 #if !_LIBCPP_HAS_MONOTONIC_CLOCK
27 #  define _LIBCPP_HAS_NO_MONOTONIC_CLOCK
28 #endif
29 
30 #if !_LIBCPP_HAS_MUSL_LIBC
31 #  undef _LIBCPP_HAS_MUSL_LIBC
32 #endif
33 
34 #if !_LIBCPP_HAS_THREAD_API_PTHREAD
35 #  undef _LIBCPP_HAS_THREAD_API_PTHREAD
36 #endif
37 
38 #if !_LIBCPP_HAS_THREAD_API_EXTERNAL
39 #  undef _LIBCPP_HAS_THREAD_API_EXTERNAL
40 #endif
41 
42 #if !_LIBCPP_HAS_THREAD_API_WIN32
43 #  undef _LIBCPP_HAS_THREAD_API_WIN32
44 #endif
45 
46 #undef _LIBCPP_HAS_THREAD_API_C11
47 
48 #if !_LIBCPP_HAS_VENDOR_AVAILABILITY_ANNOTATIONS
49 #  define _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS
50 #endif
51 
52 #if !_LIBCPP_HAS_FILESYSTEM
53 #  define _LIBCPP_HAS_NO_FILESYSTEM
54 #endif
55 
56 #if !_LIBCPP_HAS_RANDOM_DEVICE
57 #  define _LIBCPP_HAS_NO_RANDOM_DEVICE
58 #endif
59 
60 #if !_LIBCPP_HAS_LOCALIZATION
61 #  define _LIBCPP_HAS_NO_LOCALIZATION
62 #endif
63 
64 #if !_LIBCPP_HAS_UNICODE
65 #  define _LIBCPP_HAS_NO_UNICODE
66 #endif
67 
68 #if !_LIBCPP_HAS_WIDE_CHARACTERS
69 #  define _LIBCPP_HAS_NO_WIDE_CHARACTERS
70 #endif
71 
72 #if !_LIBCPP_HAS_TIME_ZONE_DATABASE
73 #  define _LIBCPP_HAS_NO_TIME_ZONE_DATABASE
74 #endif
75 
76 #if !_LIBCPP_INSTRUMENTED_WITH_ASAN
77 #  undef _LIBCPP_INSTRUMENTED_WITH_ASAN
78 #endif
79 
80 #endif // _LIBCPP___CXX03___CONFIGURATION_CONFIG_SITE_SHIM_H
81