diff options
author | Karl Williamson <khw@cpan.org> | 2021-02-10 07:19:35 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-06-16 06:18:39 -0600 |
commit | 4b06b4d0b63d9008bcd89b739dadb572b15513b8 (patch) | |
tree | 62f6ee5e45774171d3aa768f6d1fb83e1c8a4b7a /perl.c | |
parent | 8751a11f7fafc4d656fe8f44ebc8b5233e437153 (diff) | |
download | perl-4b06b4d0b63d9008bcd89b739dadb572b15513b8.tar.gz |
Regularize HAS_POSIX_2008_LOCALE, USE_POSIX_2008_LOCALE
A platform shouldn't be required to use the Posix 2008 locale handling
functions if they are present. Perhaps they are buggy. So, a separate
define for using them was introduced, USE_POSIX_2008_LOCALE. But until
this commit there were cases that were looking at the underlying
availability of the functions, not if the Configuration called for their
use.
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1079,7 +1079,7 @@ perl_destruct(pTHXx) PL_curlocales[i] = NULL; } #endif -#ifdef HAS_POSIX_2008_LOCALE +#ifdef USE_POSIX_2008_LOCALE { /* This also makes sure we aren't using a locale object that gets freed * below */ |