locale.cpp: Tweak for Win32.
This commit is contained in:
@@ -18,7 +18,20 @@
|
||||
#include "cstring"
|
||||
#include "cwctype"
|
||||
#include "__sso_allocator"
|
||||
#ifdef __MINGW32__
|
||||
#define iswctype_l _iswctype_l
|
||||
#define strcoll_l _strcoll_l
|
||||
#define strftime_l _strftime_l
|
||||
#define strxfrm_l _strxfrm_l
|
||||
#define tolower_l _tolower_l
|
||||
#define toupper_l _toupper_l
|
||||
#define towlower_l _towlower_l
|
||||
#define towupper_l _towupper_l
|
||||
#define wcscoll_l _wcscoll_l
|
||||
#define wcsxfrm_l _wcsxfrm_l
|
||||
#else
|
||||
#include <langinfo.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
|
Reference in New Issue
Block a user