From: Jarkko Hietaniemi Date: Fri, 15 Mar 2002 19:41:43 +0000 (+0000) Subject: The UINT32_MAX_BROKEN is still needed for pre-gcc-3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2bafb3d098c180c211f185191adb01f37371b721;p=p5sagit%2Fp5-mst-13.2.git The UINT32_MAX_BROKEN is still needed for pre-gcc-3 in HP-UX (from H.Merijn Brand) p4raw-id: //depot/perl@15247 --- diff --git a/hints/hpux.sh b/hints/hpux.sh index 77a6463..ebe2a21 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -73,6 +73,11 @@ case `$cc -v 2>&1`"" in # Done too late in Configure if hinted gccversion=`$cc --version` fi + case "$gccversion in + [012]*) # HP-UX and gcc-2.* break UINT32_MAX :-( + ccflags="$ccflags -DUINT32_MAX_BROKEN" + ;; + esac case "`getconf KERNEL_BITS 2>/dev/null`" in *64*) echo "main(){}">try.c