summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index b4903dee81..5636551575 100644
--- a/sv.c
+++ b/sv.c
@@ -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]);
}