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___CONFIG_SITE
10#define _LIBCPP___CONFIG_SITE
11
12#define _LIBCPP_ABI_VERSION 1
13#define _LIBCPP_ABI_NAMESPACE __1
14#define _LIBCPP_ABI_FORCE_ITANIUM 0
15#define _LIBCPP_ABI_FORCE_MICROSOFT 0
16#define _LIBCPP_HAS_THREADS 1
17#define _LIBCPP_HAS_MONOTONIC_CLOCK 1
18#define _LIBCPP_HAS_MUSL_LIBC 0
19#define _LIBCPP_HAS_THREAD_API_PTHREAD 0
20#define _LIBCPP_HAS_THREAD_API_EXTERNAL 0
21#define _LIBCPP_HAS_THREAD_API_WIN32 0
22#define _LIBCPP_HAS_THREAD_API_C11 0 // FIXME: Is this guarding dead code?
23/* #undef _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS */
24#define _LIBCPP_HAS_VENDOR_AVAILABILITY_ANNOTATIONS 0
25/* #undef _LIBCPP_NO_VCRUNTIME */
26/* #undef _LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION */
27#define _LIBCPP_HAS_FILESYSTEM 1
28#define _LIBCPP_HAS_RANDOM_DEVICE 1
29#define _LIBCPP_HAS_LOCALIZATION 1
30#define _LIBCPP_HAS_UNICODE 1
31#define _LIBCPP_HAS_WIDE_CHARACTERS 1
32#define _LIBCPP_HAS_TIME_ZONE_DATABASE 1
33#define _LIBCPP_INSTRUMENTED_WITH_ASAN 0
34
35// PSTL backends
36/* #undef _LIBCPP_PSTL_BACKEND_SERIAL */
37#define _LIBCPP_PSTL_BACKEND_STD_THREAD
38/* #undef _LIBCPP_PSTL_BACKEND_LIBDISPATCH */
39
40// Hardening.
41#define _LIBCPP_HARDENING_MODE_DEFAULT 2
42#define _LIBCPP_ASSERTION_SEMANTIC_DEFAULT 2
43
44// C libraries
45#define _LIBCPP_LIBC_PICOLIBC 0
46#define _LIBCPP_LIBC_NEWLIB 0
47#define _LIBCPP_LIBC_LLVM_LIBC 0
48
49// __USE_MINGW_ANSI_STDIO gets redefined on MinGW
50#ifdef __clang__
51# pragma clang diagnostic push
52# pragma clang diagnostic ignored "-Wmacro-redefined"
53#endif
54
55
56
57
58#ifdef __clang__
59# pragma clang diagnostic pop
60#endif
61
62#endif // _LIBCPP___CONFIG_SITE
63