From 05d47d2627a68a15ba23fb10b17fbc73551aeec1 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:34:22 -0700 Subject: zlib 1.2.4.1 --- zconf.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'zconf.h') diff --git a/zconf.h b/zconf.h index 5888024..6ad8a04 100644 --- a/zconf.h +++ b/zconf.h @@ -364,7 +364,7 @@ typedef uLong FAR uLongf; # define Z_HAVE_UNISTD_H #endif -#ifdef Z_HAVE_UNISTD_H +#if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE == 1 # include /* for off_t */ # include /* for SEEK_* and off_t */ # ifdef VMS @@ -375,15 +375,12 @@ typedef uLong FAR uLongf; # endif #endif -#ifdef _LARGEFILE64_SOURCE -# include -#endif - #ifndef SEEK_SET # define SEEK_SET 0 /* Seek from beginning of file. */ # define SEEK_CUR 1 /* Seek from current position. */ # define SEEK_END 2 /* Set file pointer to EOF plus "offset" */ #endif + #ifndef z_off_t # define z_off_t long #endif -- cgit v1.2.1