aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/iostream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src/iostream.cpp')
-rw-r--r--libcxx/src/iostream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/iostream.cpp b/libcxx/src/iostream.cpp
index 6d49a9be..ee33f4b 100644
--- a/libcxx/src/iostream.cpp
+++ b/libcxx/src/iostream.cpp
@@ -107,12 +107,12 @@ alignas(wostream) _LIBCPP_EXPORTED_FROM_ABI char wclog[sizeof(wostream)]
static void force_locale_initialization() {
#if defined(_LIBCPP_MSVCRT_LIKE)
static bool once = []() {
- auto loc = newlocale(LC_ALL_MASK, "C", 0);
+ auto loc = __locale::__newlocale(LC_ALL_MASK, "C", 0);
{
__locale_guard g(loc); // forces initialization of locale TLS
((void)g);
}
- freelocale(loc);
+ __locale::__freelocale(loc);
return true;
}();
((void)once);