aboutsummaryrefslogtreecommitdiff
path: root/zconf.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--zconf.h8
-rw-r--r--zconf.h.cmakein8
-rw-r--r--zconf.h.in8
3 files changed, 21 insertions, 3 deletions
diff --git a/zconf.h b/zconf.h
index d3eaf91..1988920 100644
--- a/zconf.h
+++ b/zconf.h
@@ -368,7 +368,7 @@ typedef uLong FAR uLongf;
368# include <sys/types.h> /* for off_t */ 368# include <sys/types.h> /* for off_t */
369#endif 369#endif
370 370
371#if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE 371#if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
372# include <unistd.h> /* for SEEK_* and off_t */ 372# include <unistd.h> /* for SEEK_* and off_t */
373# ifdef VMS 373# ifdef VMS
374# include <unixio.h> /* for off_t */ 374# include <unixio.h> /* for off_t */
@@ -388,6 +388,12 @@ typedef uLong FAR uLongf;
388# define z_off_t long 388# define z_off_t long
389#endif 389#endif
390 390
391#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
392# define z_off64_t off64_t
393#else
394# define z_off64_t z_off_t
395#endif
396
391#if defined(__OS400__) 397#if defined(__OS400__)
392# define NO_vsnprintf 398# define NO_vsnprintf
393#endif 399#endif
diff --git a/zconf.h.cmakein b/zconf.h.cmakein
index bbe25a7..cf9cc24 100644
--- a/zconf.h.cmakein
+++ b/zconf.h.cmakein
@@ -370,7 +370,7 @@ typedef uLong FAR uLongf;
370# include <sys/types.h> /* for off_t */ 370# include <sys/types.h> /* for off_t */
371#endif 371#endif
372 372
373#if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE 373#if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
374# include <unistd.h> /* for SEEK_* and off_t */ 374# include <unistd.h> /* for SEEK_* and off_t */
375# ifdef VMS 375# ifdef VMS
376# include <unixio.h> /* for off_t */ 376# include <unixio.h> /* for off_t */
@@ -390,6 +390,12 @@ typedef uLong FAR uLongf;
390# define z_off_t long 390# define z_off_t long
391#endif 391#endif
392 392
393#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
394# define z_off64_t off64_t
395#else
396# define z_off64_t z_off_t
397#endif
398
393#if defined(__OS400__) 399#if defined(__OS400__)
394# define NO_vsnprintf 400# define NO_vsnprintf
395#endif 401#endif
diff --git a/zconf.h.in b/zconf.h.in
index d3eaf91..1988920 100644
--- a/zconf.h.in
+++ b/zconf.h.in
@@ -368,7 +368,7 @@ typedef uLong FAR uLongf;
368# include <sys/types.h> /* for off_t */ 368# include <sys/types.h> /* for off_t */
369#endif 369#endif
370 370
371#if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE 371#if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
372# include <unistd.h> /* for SEEK_* and off_t */ 372# include <unistd.h> /* for SEEK_* and off_t */
373# ifdef VMS 373# ifdef VMS
374# include <unixio.h> /* for off_t */ 374# include <unixio.h> /* for off_t */
@@ -388,6 +388,12 @@ typedef uLong FAR uLongf;
388# define z_off_t long 388# define z_off_t long
389#endif 389#endif
390 390
391#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
392# define z_off64_t off64_t
393#else
394# define z_off64_t z_off_t
395#endif
396
391#if defined(__OS400__) 397#if defined(__OS400__)
392# define NO_vsnprintf 398# define NO_vsnprintf
393#endif 399#endif