diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-02-28 00:35:29 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-03-25 00:34:11 +0700 |
commit | 90338c69f75bf4c0b07bd7552b9c47755194eca8 (patch) | |
tree | 902d6292433d5b740bcdb8df2025825246ed5397 /system/include/libcxx/locale | |
parent | 1a0bccc11d4ba74f8891b70dca1a723a4a7b932a (diff) |
Get things working with the new libcxx / libcxxabi.
Diffstat (limited to 'system/include/libcxx/locale')
-rw-r--r-- | system/include/libcxx/locale | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/libcxx/locale b/system/include/libcxx/locale index 91893757..83259214 100644 --- a/system/include/libcxx/locale +++ b/system/include/libcxx/locale @@ -222,7 +222,7 @@ typedef _VSTD::unique_ptr<__locale_struct, decltype(&uselocale)> __locale_raii; // OSX has nice foo_l() functions that let you turn off use of the global // locale. Linux, not so much. The following functions avoid the locale when // that's possible and otherwise do the wrong thing. FIXME. -#ifdef __linux__ +#if defined(__linux__) || defined(EMSCRIPTEN) #ifdef _LIBCPP_LOCALE__L_EXTENSIONS decltype(MB_CUR_MAX_L(_VSTD::declval<locale_t>())) |