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
This commit is contained in:
Ed Schouten
2017-02-11 08:33:16 +00:00
parent ff5eeb6bee
commit c253e58209

View File

@@ -579,10 +579,8 @@ locale::global(const locale& loc)
locale& g = __global(); locale& g = __global();
locale r = g; locale r = g;
g = loc; g = loc;
#ifndef __CloudABI__
if (g.name() != "*") if (g.name() != "*")
setlocale(LC_ALL, g.name().c_str()); setlocale(LC_ALL, g.name().c_str());
#endif
return r; return r;
} }