diff options
author | Ed Schouten <ed@80386.nl> | 2015-03-10 09:35:22 +0000 |
---|---|---|
committer | Ed Schouten <ed@80386.nl> | 2015-03-10 09:35:22 +0000 |
commit | 681abae7dc2dcc20017667c3f44a3e717b25ad34 (patch) | |
tree | dbbf58a80e1eb5a7ca1c44b95284c05d4e1223db /include/locale | |
parent | 4c42c4e68857956b91caba7349bce4e1cb808618 (diff) |
Also use LC_C_LOCALE on CloudABI.
Before I discovered that NetBSD provides a permanent handle to the C
locale called LC_C_LOCALE, I also added support for this to CloudABI
under the name LC_POSIX_LOCALE. I've renamed it to LC_C_LOCALE to
improve compatibility.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@231780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/locale')
-rw-r--r-- | include/locale | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/locale b/include/locale index 38c68ec19..3e455ce26 100644 --- a/include/locale +++ b/include/locale @@ -216,7 +216,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD #if defined(__APPLE__) || defined(__FreeBSD__) # define _LIBCPP_GET_C_LOCALE 0 -#elif defined(__NetBSD__) +#elif defined(__CloudABI__) || defined(__NetBSD__) # define _LIBCPP_GET_C_LOCALE LC_C_LOCALE #else # define _LIBCPP_GET_C_LOCALE __cloc() |