Skip to content

Commit

Permalink
MingW with UCRT doesn't have the broken localeconv()
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed Nov 17, 2023
1 parent f937117 commit da30eaf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions perl.h
Expand Up @@ -1301,11 +1301,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
Expand Down

0 comments on commit da30eaf

Please sign in to comment.