summaryrefslogtreecommitdiff
path: root/zconf.h.in
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-09-18 21:46:44 +0200
committerMark Adler <madler@alumni.caltech.edu>2011-10-01 10:02:09 -0700
commit7142fcfeed453401ee47b0e36b5018a58575c065 (patch)
treeb310ac82219eedd8fdb2f8de20123d7bd39cd6df /zconf.h.in
parenta4f7c653748f5b5116e841c11af7adae7a140b88 (diff)
downloadzlib-7142fcfeed453401ee47b0e36b5018a58575c065.tar.gz
zlib-7142fcfeed453401ee47b0e36b5018a58575c065.tar.bz2
zlib-7142fcfeed453401ee47b0e36b5018a58575c065.zip
Always add large file support for windows
Diffstat (limited to 'zconf.h.in')
-rw-r--r--zconf.h.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/zconf.h.in b/zconf.h.in
index 1c06556..c8c2aaa 100644
--- a/zconf.h.in
+++ b/zconf.h.in
@@ -412,11 +412,15 @@ typedef uLong FAR uLongf;
412# define z_off_t long 412# define z_off_t long
413#endif 413#endif
414 414
415#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 415#if !defined(_WIN32) && (defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0)
416# define z_off64_t off64_t 416# define z_off64_t off64_t
417#else 417#else
418# if defined(_WIN32)
419# define z_off64_t __int64
420# else
418# define z_off64_t z_off_t 421# define z_off64_t z_off_t
419#endif 422#endif
423#endif
420 424
421#if defined(__OS400__) 425#if defined(__OS400__)
422# define NO_vsnprintf 426# define NO_vsnprintf