summaryrefslogtreecommitdiff
path: root/reentr.pl
diff options
context:
space:
mode:
authorSpider Boardman <spider@orb.nashua.nh.us>2002-03-21 04:23:45 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-21 14:44:09 +0000
commit90e831dcaea7bb76a1f6fd13b3d99e8db4a40ec1 (patch)
tree0ee5f89c522bb234461746acdfede6d60b0e5c1f /reentr.pl
parent9366f0ec508a96f6d067d5496e2a37c30b9c2521 (diff)
downloadperl-90e831dcaea7bb76a1f6fd13b3d99e8db4a40ec1.tar.gz
More HP-UX/IA64 work
Message-Id: <200203211423.JAA61178@leggy.zk3.dec.com> p4raw-id: //depot/perl@15388
Diffstat (limited to 'reentr.pl')
-rw-r--r--reentr.pl9
1 files changed, 8 insertions, 1 deletions
diff --git a/reentr.pl b/reentr.pl
index ae56377c15..a92f42db53 100644
--- a/reentr.pl
+++ b/reentr.pl
@@ -201,6 +201,11 @@ eval \$inlibc
case "\$d_${f}_r" in
"\$define")
hdrs="\$i_systypes sys/types.h define stdio.h \$i_${h} $h.h"
+ case "$h" in
+ time)
+ hdrs="\$hdrs \$i_systime sys/time.h"
+ ;;
+ esac
case "\$d_${f}_r_proto:\$usethreads" in
":define") d_${f}_r_proto=define
set d_${f}_r_proto ${f}_r \$hdrs
@@ -231,7 +236,7 @@ EOF
if ($opts{U}) {
print <<EOF;
case "\$${f}_r_proto" in
- '') d_${f}_r=undef
+ ''|0) d_${f}_r=undef
${f}_r_proto=0
echo "Disabling ${f}_r, cannot determine prototype." >&4 ;;
* ) case "\$${f}_r_proto" in
@@ -244,6 +249,8 @@ EOF
*) case "\$usethreads" in
define) echo "${f}_r has no prototype, not using it." >&4 ;;
esac
+ d_${f}_r=undef
+ ${f}_r_proto=0
;;
esac
;;