diff options
author | Craig A. Berry <craigberry@mac.com> | 2017-10-26 07:46:46 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2017-10-26 08:11:37 -0500 |
commit | ffaed89356842ad8f2641781afa31ead7349fb7a (patch) | |
tree | c20580257356b4f10450f59a63423164c43e933a /makedef.pl | |
parent | f0193cb25980fe4312d2f9d9050e291fdd5195ec (diff) | |
download | perl-ffaed89356842ad8f2641781afa31ead7349fb7a.tar.gz |
Don't link in Perl_my_strnlen when we don't have it.
Diffstat (limited to 'makedef.pl')
-rw-r--r-- | makedef.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/makedef.pl b/makedef.pl index 5f05c85f3b..1f44cc5780 100644 --- a/makedef.pl +++ b/makedef.pl @@ -517,6 +517,11 @@ if ($ARGS{PLATFORM} eq 'vms' && !$define{KILL_BY_SIGPRC}) { ++$skip{PL_sig_handlers_initted} unless !$define{HAS_SIGACTION}; } +if ($define{'HAS_STRNLEN'}) +{ + ++$skip{Perl_my_strnlen}; +} + unless ($define{USE_LOCALE_COLLATE}) { ++$skip{$_} foreach qw( PL_collation_ix |