From: H.Merijn Brand Date: Thu, 11 Mar 2010 10:11:17 +0000 (+0100) Subject: Limit HP-UX 11.00 time to 48 bit in 64bit mode X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8ed20913a9703a855a089b12805abaaa394758c6;p=p5sagit%2Fp5-mst-13.2.git Limit HP-UX 11.00 time to 48 bit in 64bit mode --- diff --git a/hints/hpux.sh b/hints/hpux.sh index f99168e..cb1fbf8 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'