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 /zconf.h.in | |
parent | a4f7c653748f5b5116e841c11af7adae7a140b88 (diff) | |
download | zlib-7142fcfeed453401ee47b0e36b5018a58575c065.tar.gz |
Always add large file support for windows
Diffstat (limited to 'zconf.h.in')
-rw-r--r-- | zconf.h.in | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -412,11 +412,15 @@ typedef uLong FAR uLongf; # define z_off_t long #endif -#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 +#if !defined(_WIN32) && (defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0) # define z_off64_t off64_t #else +# if defined(_WIN32) +# define z_off64_t __int64 +# else # define z_off64_t z_off_t #endif +#endif #if defined(__OS400__) # define NO_vsnprintf |