summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-09-02 07:10:33 -0600
committerKarl Williamson <khw@cpan.org>2022-09-09 12:26:40 -0600
commitd94aa97e72e6998a85674583fa0859e2a3a7fa42 (patch)
tree80d732d8d20e4cdc59fb4d3868df3260bb827b41 /perl.c
parent30345f169d457b10340374bc54e6122b6e41d7f9 (diff)
downloadperl-d94aa97e72e6998a85674583fa0859e2a3a7fa42.tar.gz
intrpvar.h,sv.c,perl.c: Remove unnecessary cpp condition
This conditional dates from when the rest of the conditions used 'HAS_foo' (from config.h) instead of USE_foo, which takes more things into account.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl.c b/perl.c
index 343c117f44..17b16f6943 100644
--- a/perl.c
+++ b/perl.c
@@ -1119,9 +1119,7 @@ perl_destruct(pTHXx)
Safefree(PL_collation_name);
PL_collation_name = NULL;
#endif
-#if defined(USE_POSIX_2008_LOCALE) \
- && defined(USE_THREAD_SAFE_LOCALE) \
- && ! defined(HAS_QUERYLOCALE)
+#if defined(USE_POSIX_2008_LOCALE) && ! defined(USE_QUERYLOCALE)
for (i = 0; i < (int) C_ARRAY_LENGTH(PL_curlocales); i++) {
Safefree(PL_curlocales[i]);
PL_curlocales[i] = NULL;