summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index 328bccd40c..f2419f0268 100644
--- a/perl.c
+++ b/perl.c
@@ -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 */