summaryrefslogtreecommitdiff
path: root/reentr.pl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-15 20:46:10 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-15 20:46:10 +0000
commit09310450a71918297b6820cce6ca272eb7dad21c (patch)
tree49159999d71a70d13d35a9b2178731edfab3a69e /reentr.pl
parent2dc0455f0afe9db74cde399b98f5c0c6f15650bd (diff)
downloadperl-09310450a71918297b6820cce6ca272eb7dad21c.tar.gz
Doesn't make sense to test for protos if the
functions are not to be used (!= functions exist!) This might be the key (well, a key) to the HP-UX problems. p4raw-id: //depot/perl@15249
Diffstat (limited to 'reentr.pl')
-rw-r--r--reentr.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/reentr.pl b/reentr.pl
index f9e2d3c715..efa0724504 100644
--- a/reentr.pl
+++ b/reentr.pl
@@ -295,7 +295,7 @@ EOF
push @H, $h;
my @h = grep { /$p/ } @{$seena{$f}};
if (@h) {
- push @define, "#if (" . join(" || ", map { "${F}_R_PROTO == REENTRANT_PROTO_$_" } @h) . ")\n";
+ push @define, "#if defined(HAS_${F}_R) && (" . join(" || ", map { "${F}_R_PROTO == REENTRANT_PROTO_$_" } @h) . ")\n";
push @define, <<EOF;
# define $h