summaryrefslogtreecommitdiffstats
path: root/libcxx/src/locale.cpp
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
commit252da3b3b4ec7f7acaedfe64c9668a3cbaca3d28 (patch)
tree297ec106aeb4090f5dc75ea9cc0a29e5f97eb66f /libcxx/src/locale.cpp
parentde5669e46c4f391fb3d939e80fc8613f92190181 (diff)
downloadbcm5719-llvm-252da3b3b4ec7f7acaedfe64c9668a3cbaca3d28.tar.gz
bcm5719-llvm-252da3b3b4ec7f7acaedfe64c9668a3cbaca3d28.zip
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. llvm-svn: 294833
Diffstat (limited to 'libcxx/src/locale.cpp')
-rw-r--r--libcxx/src/locale.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp
index 338ffde3f5b..6b633fc72e8 100644
--- a/libcxx/src/locale.cpp
+++ b/libcxx/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;
}
OpenPOWER on IntegriCloud