diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-09-18 21:46:44 +0200 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-10-01 10:02:09 -0700 |
commit | 7142fcfeed453401ee47b0e36b5018a58575c065 (patch) | |
tree | b310ac82219eedd8fdb2f8de20123d7bd39cd6df /gzlib.c | |
parent | a4f7c653748f5b5116e841c11af7adae7a140b88 (diff) | |
download | zlib-7142fcfeed453401ee47b0e36b5018a58575c065.tar.gz |
Always add large file support for windows
Diffstat (limited to 'gzlib.c')
-rw-r--r-- | gzlib.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -5,11 +5,15 @@ #include "gzguts.h" +#if defined(_WIN32) +# define LSEEK _lseeki64 +#else #if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 # define LSEEK lseek64 #else # define LSEEK lseek #endif +#endif /* Local functions */ local void gz_reset OF((gz_statep)); |