]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Change check for a four-byte type back to hexadecimal.
authorMark Adler <madler@alumni.caltech.edu>
Sat, 13 Apr 2013 22:54:03 +0000 (15:54 -0700)
committerMark Adler <madler@alumni.caltech.edu>
Sat, 13 Apr 2013 22:54:03 +0000 (15:54 -0700)
zconf.h
zconf.h.cmakein
zconf.h.in

diff --git a/zconf.h b/zconf.h
index 80de2ce6382b13d4b3a3f5da17c964ad954fcee3..7a9d8f21b54e6f405c15dea9c43fc56611fb0b28 100644 (file)
--- 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
index a02281ab080de2ed4be7b9af08cd92b6965eff84..10e445f216f20dba6dba085560888ca0e3768b6b 100644 (file)
@@ -395,11 +395,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
index 80de2ce6382b13d4b3a3f5da17c964ad954fcee3..7a9d8f21b54e6f405c15dea9c43fc56611fb0b28 100644 (file)
@@ -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