Daniel S. Lewart [Mon, 6 Sep 1999 21:18:12 +0000 (16:18 -0500)]
To: perl5-porters@perl.org
Subject: [ID
19990906.007] Not OK: perl 5.00561 on PA-RISC1.1 10.20
Message-Id: <
199909070218.VAA29232@www.cvm.uiuc.edu>
p4raw-id: //depot/cfgperl@4096
'') ldlibpthname=SHLIB_PATH ;;
esac
+# HP-UX 10.20 and gcc 2.8.1 break UINT32_MAX.
+case "$cc" in
+*gcc*) ccflags="$ccflags -DUINT32_MAX_BROKEN" ;;
+esac
+
# Date: Fri, 6 Sep 96 23:15:31 CDT
# From: "Daniel S. Lewart" <d-lewart@uiuc.edu>
# I looked through the gcc.info and found this:
# if defined(INT32_MAX) && LONGSIZE == 4
# define IV_MAX INT32_MAX
# define IV_MIN INT32_MIN
-# define UV_MAX UINT32_MAX
+# ifndef UINT32_MAX_BROKEN /* e.g. HP-UX with gcc messes this up */
+# define UV_MAX UINT32_MAX
+# else
+# define UV_MAX 4294967295U
+# endif
# ifndef UINT32_MIN
# define UINT32_MIN 0
# endif