From: Mika Lindqvist Date: Sat, 30 May 2015 17:54:30 +0000 (+0300) Subject: Fix detecting Windows in zconf.h(.in) X-Git-Tag: 1.9.9-b1~804^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F38%2Fhead;p=thirdparty%2Fzlib-ng.git Fix detecting Windows in zconf.h(.in) --- diff --git a/zconf.h.in b/zconf.h.in index e919175f..74c773c1 100644 --- a/zconf.h.in +++ b/zconf.h.in @@ -164,7 +164,7 @@ typedef void *voidp; #if !defined(_WIN32) && defined(Z_LARGE64) # define z_off64_t off64_t #else -# if defined(_WIN32) && !defined(__GNUC__) +# if (defined(_WIN32) || defined(WIN32)) && !defined(__GNUC__) # define z_off64_t __int64 # else # define z_off64_t z_off_t