mirror of
https://github.com/Perl/perl5.git
synced 2026-01-27 01:44:43 +00:00
MingW with UCRT doesn't have the broken localeconv()
This commit is contained in:
parent
348cc60193
commit
ed197f4334
8
perl.h
8
perl.h
@ -1284,11 +1284,11 @@ typedef enum {
|
||||
# define USE_PL_CUR_LC_ALL
|
||||
# endif
|
||||
|
||||
/* Assume MingW has the broken localeconv() that Microsoft
|
||||
/* Assume MingW without UCRT has the broken localeconv() that Microsoft
|
||||
* fixed in VS 2015 */
|
||||
# ifndef _MSC_VER
|
||||
# define TS_W32_BROKEN_LOCALECONV
|
||||
# endif
|
||||
# if ! defined(_MSC_VER) && ! defined(_UCRT)
|
||||
# define TS_W32_BROKEN_LOCALECONV
|
||||
# endif
|
||||
# endif
|
||||
|
||||
/* POSIX 2008 and Windows with thread-safe locales keep locale information
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user