summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-02-28 14:35:35 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-02-28 14:35:35 +0000
commitdb3030c00cb9bf89cc2777cc9facc87b6b1d55e0 (patch)
treed399b0fda174ca3c72577774e9e90725d7170fbf
parent39644a267dae6dfa935b1c1d39151eb399850949 (diff)
downloadperl-db3030c00cb9bf89cc2777cc9facc87b6b1d55e0.tar.gz
Do not force d_casti32 to undef if we are on a 64-bit environment.
(The #8961 was too bold.) p4raw-id: //depot/perl@8964
-rw-r--r--hints/hpux.sh6
-rw-r--r--hints/irix_6.sh5
2 files changed, 9 insertions, 2 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index c9524cf55d..c38e8bd31f 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -436,4 +436,8 @@ EOCBU
ccisgcc=''
# Until we figure out what to be probe for in Configure (ditto for irix_6.sh)
-d_casti32='undef'
+case "$use64bitint" in
+$define|true|[yY]*) ;;
+*) d_casti32='undef' ;;
+esac
+
diff --git a/hints/irix_6.sh b/hints/irix_6.sh
index b65de234b1..f9d2e31276 100644
--- a/hints/irix_6.sh
+++ b/hints/irix_6.sh
@@ -335,5 +335,8 @@ EOCBU
# The -n32 makes off_t to be 8 bytes, so we should have largefileness.
# Until we figure out what to be probe for in Configure (ditto for hpux.sh)
-d_casti32='undef'
+case "$use64bitint" in
+$define|true|[yY]*) ;;
+*) d_casti32='undef' ;;
+esac