projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ad83ce
)
UIN32_MAX with borken under HP-UX+gcc
author
Gurusamy Sarathy
<gsar@cpan.org>
Sat, 16 Mar 2002 15:36:16 +0000
(15:36 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Sat, 16 Mar 2002 15:36:16 +0000
(15:36 +0000)
p4raw-id: //depot/perl@15252
handy.h
patch
|
blob
|
history
diff --git
a/handy.h
b/handy.h
index
be0454b
..
9a06b77
100644
(file)
--- a/
handy.h
+++ b/
handy.h
@@
-174,7
+174,11
@@
typedef U64TYPE U64;
#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