summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2017-10-26 07:46:46 -0500
committerCraig A. Berry <craigberry@mac.com>2017-10-26 08:11:37 -0500
commitffaed89356842ad8f2641781afa31ead7349fb7a (patch)
treec20580257356b4f10450f59a63423164c43e933a /makedef.pl
parentf0193cb25980fe4312d2f9d9050e291fdd5195ec (diff)
downloadperl-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.pl5
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