Skip to content

Commit a7cd9d9

Browse files
committed
__config_site change
llvm/llvm-project#112094
1 parent b88f0ab commit a7cd9d9

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

system/lib/libcxx/include/__config_site

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
// Set the LIBCPP ABI version 2 under emscripten so that we get nicely aligned string
22
// data and other nice fixes.
33
#define _LIBCPP_ABI_VERSION 2
4-
#define _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS
5-
#define _LIBCPP_HAS_MUSL_LIBC
64
#define _LIBCPP_ABI_NAMESPACE __2
7-
// Emscripten doesn't use PSTL at the moment.
5+
#define _LIBCPP_ABI_FORCE_ITANIUM 0
6+
#define _LIBCPP_ABI_FORCE_MICROSOFT 0
7+
#define _LIBCPP_HAS_THREADS 1
8+
#define _LIBCPP_HAS_MONOTONIC_CLOCK 1
9+
#define _LIBCPP_HAS_MUSL_LIBC 1
10+
#define _LIBCPP_HAS_THREAD_API_PTHREAD 1
11+
#define _LIBCPP_HAS_THREAD_API_EXTERNAL 0
12+
#define _LIBCPP_HAS_THREAD_API_WIN32 0
13+
#define _LIBCPP_HAS_THREAD_API_C11 0
14+
#define _LIBCPP_HAS_VENDOR_AVAILABILITY_ANNOTATIONS 0
15+
#define _LIBCPP_HAS_FILESYSTEM 1
16+
#define _LIBCPP_HAS_RANDOM_DEVICE 1
17+
#define _LIBCPP_HAS_LOCALIZATION 1
18+
#define _LIBCPP_HAS_UNICODE 1
19+
#define _LIBCPP_HAS_WIDE_CHARACTERS 1
20+
#define _LIBCPP_HAS_TIME_ZONE_DATABASE 0
21+
#define _LIBCPP_INSTRUMENTED_WITH_ASAN 0
22+
23+
// PSTL backends: Emscripten doesn't use PSTL at the moment.
824
#define _LIBCPP_PSTL_BACKEND_SERIAL
25+
26+
// Hardening
927
#define _LIBCPP_HARDENING_MODE_DEFAULT _LIBCPP_HARDENING_MODE_NONE
10-
#define _LIBCPP_HAS_NO_TIME_ZONE_DATABASE

0 commit comments

Comments
 (0)