aboutsummaryrefslogtreecommitdiff
path: root/zconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'zconf.h')
-rw-r--r--zconf.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/zconf.h b/zconf.h
index 95c9ef6..c6ec884 100644
--- a/zconf.h
+++ b/zconf.h
@@ -390,20 +390,14 @@ typedef uLong FAR uLongf;
390 typedef Byte *voidp; 390 typedef Byte *voidp;
391#endif 391#endif
392 392
393/* ./configure may #define Z_U4 here */
394
395#if !defined(Z_U4) && !defined(Z_SOLO) && defined(STDC) 393#if !defined(Z_U4) && !defined(Z_SOLO) && defined(STDC)
396# include <limits.h> 394# include <limits.h>
397# if (UINT_MAX == 0xffffffffUL) 395# if (UINT_MAX == 4294967295)
398# define Z_U4 unsigned 396# define Z_U4 unsigned
399# else 397# elif (ULONG_MAX == 4294967295)
400# if (ULONG_MAX == 0xffffffffUL) 398# define Z_U4 unsigned long
401# define Z_U4 unsigned long 399# elif (USHRT_MAX == 4294967295)
402# else 400# define Z_U4 unsigned short
403# if (USHRT_MAX == 0xffffffffUL)
404# define Z_U4 unsigned short
405# endif
406# endif
407# endif 401# endif
408#endif 402#endif
409 403