summaryrefslogtreecommitdiff
path: root/zconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'zconf.h')
-rw-r--r--zconf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/zconf.h b/zconf.h
index 80de2ce..7a9d8f2 100644
--- a/zconf.h
+++ b/zconf.h
@@ -393,11 +393,11 @@ typedef uLong FAR uLongf;
#if !defined(Z_U4) && !defined(Z_SOLO) && defined(STDC)
# include <limits.h>
-# if (UINT_MAX == 4294967295)
+# if (UINT_MAX == 0xffffffffUL)
# define Z_U4 unsigned
-# elif (ULONG_MAX == 4294967295)
+# elif (ULONG_MAX == 0xffffffffUL)
# define Z_U4 unsigned long
-# elif (USHRT_MAX == 4294967295)
+# elif (USHRT_MAX == 0xffffffffUL)
# define Z_U4 unsigned short
# endif
#endif