diff options
author | Karl Williamson <khw@cpan.org> | 2017-07-25 12:46:00 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-08-12 22:53:11 -0600 |
commit | 5acc3fa5267fc7ad812f1bcfa7638acb4fd45c13 (patch) | |
tree | 83a0d820cf768e5c31939b47a825af45d8da632c /makedef.pl | |
parent | f1d2176bc7ecf5a51b9faeb6e2a2b2e6c900283e (diff) | |
download | perl-5acc3fa5267fc7ad812f1bcfa7638acb4fd45c13.tar.gz |
Initialize locale object even in unthreaded perls
This commit will now initialize the thread-safe C locale object if the
POSIX 2008 functions are available, regardless of whether the perl is
threaded or not. This will allow for a future commit that uses
them, and which is a win on unthreaded builds.
Diffstat (limited to 'makedef.pl')
-rw-r--r-- | makedef.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/makedef.pl b/makedef.pl index 6e9ea5f0fb..2af197fa43 100644 --- a/makedef.pl +++ b/makedef.pl @@ -399,8 +399,7 @@ unless ($define{'USE_ITHREADS'}) { ); } -unless ( $define{'USE_ITHREADS'} - && $define{'HAS_NEWLOCALE'}) +unless ($define{'HAS_NEWLOCALE'} && ! $define{'NO_POSIX_2008_LOCALE'}) { ++$skip{$_} foreach qw( PL_C_locale_obj |