From 7142fcfeed453401ee47b0e36b5018a58575c065 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 18 Sep 2011 21:46:44 +0200 Subject: Always add large file support for windows --- zconf.h.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'zconf.h.in') 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; # 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 -- cgit v1.2.1