summaryrefslogtreecommitdiff
path: root/hints/hpux.sh
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2010-03-11 11:11:17 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2010-03-11 11:11:17 +0100
commit8ed20913a9703a855a089b12805abaaa394758c6 (patch)
treeee012782552a2767860a631ce1fbd71be33af353 /hints/hpux.sh
parent719c50dc98237b0afc704520ff22b1b82bf9a101 (diff)
downloadperl-8ed20913a9703a855a089b12805abaaa394758c6.tar.gz
Limit HP-UX 11.00 time to 48 bit in 64bit mode
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r--hints/hpux.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index f99168e66c..cb1fbf8370 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -233,6 +233,15 @@ EOM
exit 1
fi
+ if [ $xxOsRev -eq 1100 ]; then
+ # HP-UX 11.00 uses only 48 bits internally in 64bit mode, not 64
+ # force min/max to 2**47-1
+ sGMTIME_max=140737488355327
+ sGMTIME_min=-140737488355327
+ sLOCALTIME_max=140737488355327
+ sLOCALTIME_min=-140737488355327
+ fi
+
# Set libc and the library paths
case "$archname" in
PA-RISC*)
@@ -669,7 +678,6 @@ if [ $xxOsRevMajor -lt 11 ]; then
d_asctime_r="$undef"
fi
-
# fpclassify () is a macro, the library call is Fpclassify
# Similarly with the others below.
d_fpclassify='define'