summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEd Schouten <ed@nuxi.nl>2017-02-11 08:33:16 +0000
committerEd Schouten <ed@nuxi.nl>2017-02-11 08:33:16 +0000
commitc253e58209c64d42a85816ee95054b5fffb46ea5 (patch)
tree9a4540433c14657dcd622f83ea02b9f5ff5dd634 /src
parentff5eeb6beebda3cb406906d8cff40a5fb41eedf2 (diff)
Remove a now unneeded __CloudABI__ check.
CloudABI has gained the setlocale() function in the meantime, meaning there is no longer a need to conditionalize this. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@294833 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src')
-rw-r--r--src/locale.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/locale.cpp b/src/locale.cpp
index 338ffde3f..6b633fc72 100644
--- a/src/locale.cpp
+++ b/src/locale.cpp
@@ -579,10 +579,8 @@ locale::global(const locale& loc)
locale& g = __global();
locale r = g;
g = loc;
-#ifndef __CloudABI__
if (g.name() != "*")
setlocale(LC_ALL, g.name().c_str());
-#endif
return r;
}