diff options
Diffstat (limited to 'system/include/libcxx/__locale')
-rw-r--r-- | system/include/libcxx/__locale | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/include/libcxx/__locale b/system/include/libcxx/__locale index 5cd9e024..b1c0dd7c 100644 --- a/system/include/libcxx/__locale +++ b/system/include/libcxx/__locale @@ -8,6 +8,8 @@ // //===----------------------------------------------------------------------===// +//class locale; // XXX Emscripten + #ifndef _LIBCPP___LOCALE #define _LIBCPP___LOCALE @@ -42,6 +44,7 @@ public: class id; typedef int category; + /* XXX Emscripten static const category // values assigned here are for exposition only none = 0, collate = LC_COLLATE_MASK, @@ -51,6 +54,7 @@ public: time = LC_TIME_MASK, messages = LC_MESSAGES_MASK, all = collate | ctype | monetary | numeric | time | messages; + */ // construct/copy/destroy: locale() _NOEXCEPT; @@ -333,7 +337,7 @@ public: #else // __GLIBC__ || _WIN32 #if __APPLE__ typedef __uint32_t mask; -#elif __FreeBSD__ +#elif defined(__FreeBSD__) or defined(EMSCRIPTEN) typedef unsigned long mask; #endif static const mask space = _CTYPE_S; |