summaryrefslogtreecommitdiff
path: root/zconf.h.cmakein
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--zconf.h.cmakein8
1 files changed, 7 insertions, 1 deletions
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