llvm-project/libcxx/include/support/win32
Martin Storsjo 771edc7949 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

llvm-svn: 318902
2017-11-23 10:38:18 +00:00
..
limits_msvc_win32.h [libc++] Refactor Windows support headers. 2017-05-10 20:57:45 +00:00
locale_win32.h Allow to set locale on Windows. 2017-11-23 10:38:18 +00:00