You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
libcxx_old/include/support
Martin Storsjo 9de8659223 Allow to set locale on Windows.
Fix the problem PR31516 with setting locale on Windows by wrapping
_locale_t with a pointer-like class.

Reduces 74 test failures in std/localization test suite to 47 test
failures (on llvm clang, Visual Studio 2015). Number of test failures
doesn't depend on the platform (x86 or x64).

Patch by Andrey Khalyavin.

Differential Revision: https://reviews.llvm.org/D40181

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@318902 91177308-0d34-0410-b5e6-96231b3b80d8
8 years ago
..
android Replace __ANDROID__ with __BIONIC__. 9 years ago
fuchsia [libcxx] Direct support for Fuchsia 9 years ago
ibm Split locale management out of ibm/xlocale.h. NFCI 10 years ago
musl Add initial support for the MUSL C library. 10 years ago
newlib PR32476: __nop_locale_mgmt.h not needed with newlib 2.5+ 9 years ago
solaris Implement LWG issue 1169. num_get not fully compatible with strto* 10 years ago
win32 Allow to set locale on Windows. 8 years ago
xlocale Fix signatures of fallback tow(upper|lower)_l. 9 years ago