summaryrefslogtreecommitdiff
path: root/zconf.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--zconf.h23
-rw-r--r--zconf.h.cmakein23
-rw-r--r--zconf.h.in23
3 files changed, 69 insertions, 0 deletions
diff --git a/zconf.h b/zconf.h
index 8c6f945..8a46a58 100644
--- a/zconf.h
+++ b/zconf.h
@@ -388,6 +388,29 @@ typedef uLong FAR uLongf;
388 typedef Byte *voidp; 388 typedef Byte *voidp;
389#endif 389#endif
390 390
391/* ./configure may #define Z_U4 here */
392
393#if !defined(Z_U4) && !defined(Z_SOLO) && defined(STDC)
394# include <limits.h>
395# if (UINT_MAX == 0xffffffffUL)
396# define Z_U4 unsigned
397# else
398# if (ULONG_MAX == 0xffffffffUL)
399# define Z_U4 unsigned long
400# else
401# if (USHRT_MAX == 0xffffffffUL)
402# define Z_U4 unsigned short
403# endif
404# endif
405# endif
406#endif
407
408#ifdef Z_U4
409 typedef Z_U4 z_crc_t;
410#else
411 typedef unsigned long z_crc_t;
412#endif
413
391#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */ 414#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
392# define Z_HAVE_UNISTD_H 415# define Z_HAVE_UNISTD_H
393#endif 416#endif
diff --git a/zconf.h.cmakein b/zconf.h.cmakein
index 4ade487..b6ca59a 100644
--- a/zconf.h.cmakein
+++ b/zconf.h.cmakein
@@ -390,6 +390,29 @@ 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)
396# include <limits.h>
397# if (UINT_MAX == 0xffffffffUL)
398# define Z_U4 unsigned
399# else
400# if (ULONG_MAX == 0xffffffffUL)
401# define Z_U4 unsigned long
402# else
403# if (USHRT_MAX == 0xffffffffUL)
404# define Z_U4 unsigned short
405# endif
406# endif
407# endif
408#endif
409
410#ifdef Z_U4
411 typedef Z_U4 z_crc_t;
412#else
413 typedef unsigned long z_crc_t;
414#endif
415
393#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */ 416#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
394# define Z_HAVE_UNISTD_H 417# define Z_HAVE_UNISTD_H
395#endif 418#endif
diff --git a/zconf.h.in b/zconf.h.in
index 8c6f945..8a46a58 100644
--- a/zconf.h.in
+++ b/zconf.h.in
@@ -388,6 +388,29 @@ typedef uLong FAR uLongf;
388 typedef Byte *voidp; 388 typedef Byte *voidp;
389#endif 389#endif
390 390
391/* ./configure may #define Z_U4 here */
392
393#if !defined(Z_U4) && !defined(Z_SOLO) && defined(STDC)
394# include <limits.h>
395# if (UINT_MAX == 0xffffffffUL)
396# define Z_U4 unsigned
397# else
398# if (ULONG_MAX == 0xffffffffUL)
399# define Z_U4 unsigned long
400# else
401# if (USHRT_MAX == 0xffffffffUL)
402# define Z_U4 unsigned short
403# endif
404# endif
405# endif
406#endif
407
408#ifdef Z_U4
409 typedef Z_U4 z_crc_t;
410#else
411 typedef unsigned long z_crc_t;
412#endif
413
391#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */ 414#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
392# define Z_HAVE_UNISTD_H 415# define Z_HAVE_UNISTD_H
393#endif 416#endif