Change 15252 by gsar@llbertha-gsar on 2002/03/16 15:36:16

        UIN32_MAX with borken under HP-UX+gcc

Affected files ...

.... //depot/perl/handy.h#53 edit

Differences ...

==== //depot/perl/handy.h#53 (text) ====
Index: perl/handy.h
--- perl/handy.h.~1~    Sat Mar 16 08:45:06 2002
+++ perl/handy.h        Sat Mar 16 08:45:06 2002
@@ -174,7 +174,11 @@
 
 #define I32_MAX INT32_MAX
 #define I32_MIN INT32_MIN
-#define U32_MAX UINT32_MAX
+#ifndef UINT32_MAX_BROKEN /* e.g. HP-UX with gcc messes this up */
+#  define U32_MAX UINT32_MAX
+#else
+#  define U32_MAX 4294967295U
+#endif
 #define U32_MIN UINT32_MIN
 
 #else
End of Patch.

Reply via email to