diff options
Diffstat (limited to 'include/limits')
| -rw-r--r-- | include/limits | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/limits b/include/limits index ce967ea1b239..80a1be40fe47 100644 --- a/include/limits +++ b/include/limits @@ -237,7 +237,8 @@ protected: static _LIBCPP_CONSTEXPR const bool is_bounded = true; static _LIBCPP_CONSTEXPR const bool is_modulo = !_VSTD::is_signed<_Tp>::value; -#if defined(__i386__) || defined(__x86_64__) || defined(__pnacl__) +#if defined(__i386__) || defined(__x86_64__) || defined(__pnacl__) || \ + defined(__wasm__) static _LIBCPP_CONSTEXPR const bool traps = true; #else static _LIBCPP_CONSTEXPR const bool traps = false; |
