MingW with UCRT doesn't have the broken localeconv()

This commit is contained in:
Karl Williamson 2023-11-16 17:29:17 -07:00
parent 348cc60193
commit ed197f4334

8
perl.h
View File

@ -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