summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorDaniel S. Lewart <lewart@uiuc.edu>1999-09-06 16:18:12 -0500
committerJarkko Hietaniemi <jhi@iki.fi>1999-09-07 07:36:17 +0000
commit716026f96c8d48603497e3610163f08d8c9aeae6 (patch)
tree9569828764878647f95b4fe1a3de2027517a1a4f /perl.h
parent6ca3630670af1127da43d67cce45a7333e771bbd (diff)
downloadperl-716026f96c8d48603497e3610163f08d8c9aeae6.tar.gz
HP-UX 10.20 and gcc 2.8.1 break UINT32_MAX.
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
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index 5691723b49..64b349ad27 100644
--- a/perl.h
+++ b/perl.h
@@ -1018,7 +1018,11 @@ Free_t Perl_mfree (Malloc_t where);
# 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