summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-03-09 12:06:30 -0700
committerKarl Williamson <khw@cpan.org>2018-03-12 10:22:01 -0600
commit39e69e777b8acb3d8408d75aa0ba12fa6f7db35e (patch)
tree9af3117f843c6c15e687552c2988c74757c7900b /makedef.pl
parent1b6cb30eab88d60350ddd3276647739c0f1ce888 (diff)
downloadperl-39e69e777b8acb3d8408d75aa0ba12fa6f7db35e.tar.gz
Don't create locale object unless threaded
PL_C_locale_obj is now only created on threaded builds on systems with POSIX 2008. On unthreaded builds, we really should continue to use the old tried and true library calls.
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/makedef.pl b/makedef.pl
index 626d990744..f2b4684ee1 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -398,6 +398,7 @@ unless ($define{'USE_ITHREADS'}) {
Perl_stashpv_hvname_match
Perl_regdupe_internal
Perl_newPADOP
+ PL_C_locale_obj
);
}