diff options
author | Karl Williamson <khw@cpan.org> | 2022-09-02 07:34:28 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-09-09 12:26:40 -0600 |
commit | 5e395a7af03c83ac012073ec7e17fd26f27bfa59 (patch) | |
tree | 5d49d3f9c89a4ca296853fba02fdcb0f6eb8bfd2 /sv.c | |
parent | d94aa97e72e6998a85674583fa0859e2a3a7fa42 (diff) | |
download | perl-5e395a7af03c83ac012073ec7e17fd26f27bfa59.tar.gz |
locale.c: Move #define to perl.h; use it elsewhere
Rather than recalculate this combined conditional, do it once in
perl.h.
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15905,7 +15905,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, PL_subname = sv_dup_inc(proto_perl->Isubname, param); -#if defined(USE_POSIX_2008_LOCALE) && ! defined(USE_QUERYLOCALE) +#ifdef USE_PL_CURLOCALES for (i = 0; i < (int) C_ARRAY_LENGTH(PL_curlocales); i++) { PL_curlocales[i] = SAVEPV(proto_perl->Icurlocales[i]); } |