|
1 | 1 | // Set the LIBCPP ABI version 2 under emscripten so that we get nicely aligned string
|
2 | 2 | // data and other nice fixes.
|
3 | 3 | #define _LIBCPP_ABI_VERSION 2
|
4 |
| -#define _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS |
5 |
| -#define _LIBCPP_HAS_MUSL_LIBC |
6 | 4 | #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. |
8 | 24 | #define _LIBCPP_PSTL_BACKEND_SERIAL
|
| 25 | + |
| 26 | +// Hardening |
9 | 27 | #define _LIBCPP_HARDENING_MODE_DEFAULT _LIBCPP_HARDENING_MODE_NONE
|
10 |
| -#define _LIBCPP_HAS_NO_TIME_ZONE_DATABASE |
|
0 commit comments