| 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_TERMINAL 1 |
| 19 | #define _LIBCPP_HAS_MUSL_LIBC 0 |
| 20 | #define _LIBCPP_HAS_THREAD_API_PTHREAD 0 |
| 21 | #define _LIBCPP_HAS_THREAD_API_EXTERNAL 0 |
| 22 | #define _LIBCPP_HAS_THREAD_API_WIN32 0 |
| 23 | #define _LIBCPP_HAS_THREAD_API_C11 0 // FIXME: Is this guarding dead code? |
| 24 | /* #undef _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS */ |
| 25 | #define _LIBCPP_HAS_VENDOR_AVAILABILITY_ANNOTATIONS 0 |
| 26 | /* #undef _LIBCPP_NO_VCRUNTIME */ |
| 27 | /* #undef _LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION */ |
| 28 | #define _LIBCPP_HAS_FILESYSTEM 1 |
| 29 | #define _LIBCPP_HAS_RANDOM_DEVICE 1 |
| 30 | #define _LIBCPP_HAS_LOCALIZATION 1 |
| 31 | #define _LIBCPP_HAS_UNICODE 1 |
| 32 | #define _LIBCPP_HAS_WIDE_CHARACTERS 1 |
| 33 | /* #undef _LIBCPP_HAS_NO_STD_MODULES */ |
| 34 | #define _LIBCPP_HAS_TIME_ZONE_DATABASE 1 |
| 35 | #define _LIBCPP_INSTRUMENTED_WITH_ASAN 0 |
| 36 | |
| 37 | // PSTL backends |
| 38 | /* #undef _LIBCPP_PSTL_BACKEND_SERIAL */ |
| 39 | #define _LIBCPP_PSTL_BACKEND_STD_THREAD |
| 40 | /* #undef _LIBCPP_PSTL_BACKEND_LIBDISPATCH */ |
| 41 | |
| 42 | // Hardening. |
| 43 | #define _LIBCPP_HARDENING_MODE_DEFAULT 2 |
| 44 | |
| 45 | // __USE_MINGW_ANSI_STDIO gets redefined on MinGW |
| 46 | #ifdef __clang__ |
| 47 | # pragma clang diagnostic push |
| 48 | # pragma clang diagnostic ignored "-Wmacro-redefined" |
| 49 | #endif |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | #ifdef __clang__ |
| 55 | # pragma clang diagnostic pop |
| 56 | #endif |
| 57 | |
| 58 | #endif // _LIBCPP___CONFIG_SITE |
| 59 | |