From c253e58209c64d42a85816ee95054b5fffb46ea5 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sat, 11 Feb 2017 08:33:16 +0000 Subject: [PATCH] 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 --- src/locale.cpp | 2 -- 1 file changed, 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; }