mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-24 03:32:35 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user