Skip to content

Commit dcf81f7

Browse files
Provide a value for ELAST.
1 parent 5503dd5 commit dcf81f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

system/include/libcxx/__config

+2
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,8 @@ template <unsigned> struct __static_assert_check {};
648648
#define _LIBCPP_ELAST __ELASTERROR
649649
#elif defined(__APPLE__)
650650
// Not _LIBCPP_ELAST needed on Apple
651+
#elif defined(__EMSCRIPTEN__)
652+
#define _LIBCPP_ELAST 256
651653
#else
652654
// Warn here so that the person doing the libcxx port has an easier time:
653655
#warning This platform's ELAST hasn't been ported yet

0 commit comments

Comments
 (0)