X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=handy.h;h=9a06b77e2612844efb25c9b7393e177dd323506a;hb=eae1b76ba3ec9dc0fc5d6f1630cae5bff9a78c81;hp=be0454b22cf43e4fc3a753b8fa4863aca7ca28a3;hpb=eb1102fcca2230364ceadea29bd8e87ee51b15fa;p=p5sagit%2Fp5-mst-13.2.git diff --git a/handy.h b/handy.h index be0454b..9a06b77 100644 --- 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