Hi,<br><br>I have removed Windows' dependency on the ugly <locale> part that is going to be refactored by mirrorring Mac and FreeBSD through implementing all the necessary *_l functions and dependents.<br><br>Other notable changes:<br>
 - support/win32/locale.h: fixed uselocale to enable per-thread locale, because the POSIX definition of this function requires that it only set the current thread's locale. Consequence is that after a call to this function, per-thread locale will remain enabled. This is intended behavior as far as I can see. As a result, I'm fairly confident the __locale_raii trick works as it should even in multithreaded contexts.<br>
 - include/locale: I still included the variadic template alternatives to the vararg functions. As these wrappers are going to be removed, You could leave this out, but libc++ won't compile for GCC without them.<br> - include/cwchar: I included the support header in order to get the functions required by the standard. this solves the cwchar test issue, but the <wchar.h> test will need to do this manually for _WIN32.<br>
<br>Please comment or apply, thanks.<br><br>Ruben<br><br><br>