File tree 2 files changed +2
-3
lines changed
system/lib/libcxx/include
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 6
6
#define _LIBCPP_ABI_NAMESPACE __2
7
7
// Emscripten doesn't use PSTL at the moment.
8
8
#define _LIBCPP_PSTL_CPU_BACKEND_SERIAL
9
- // __libcpp_verbose_abort creases code size too much
10
- #define _LIBCPP_AVAILABILITY_HAS_VERBOSE_ABORT 0
11
9
#define _LIBCPP_HARDENING_MODE _LIBCPP_HARDENING_MODE_NONE
12
10
#define _LIBCPP_HAS_NO_TIME_ZONE_DATABASE
Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ _LIBCPP_NORETURN _LIBCPP_AVAILABILITY_VERBOSE_ABORT _LIBCPP_OVERRIDABLE_FUNC_VIS
38
38
// make sure that the program terminates but without taking any complex dependencies in this header.
39
39
#if !defined(_LIBCPP_VERBOSE_ABORT)
40
40
41
- # if !_LIBCPP_AVAILABILITY_HAS_VERBOSE_ABORT
41
+ // XXX EMSCRIPTEN __libcpp_verbose_abort creases code size too much
42
+ # if !_LIBCPP_AVAILABILITY_HAS_VERBOSE_ABORT || defined (__EMSCRIPTEN__)
42
43
// The decltype is there to suppress -Wunused warnings in this configuration.
43
44
void __use (const char *, ...);
44
45
# define _LIBCPP_VERBOSE_ABORT (...) (decltype(::std::__use(__VA_ARGS__))(), __builtin_abort())
You can’t perform that action at this time.
0 commit comments