]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fix detecting Windows in zconf.h(.in) 38/head
authorMika Lindqvist <postmaster@raasu.org>
Sat, 30 May 2015 17:54:30 +0000 (20:54 +0300)
committerMika Lindqvist <postmaster@raasu.org>
Sat, 30 May 2015 17:54:30 +0000 (20:54 +0300)
zconf.h.in

index e919175f3490e6590ad869b2cc04e83bd6a978bb..74c773c1e35b0daf8b13f83c8f8dd71174b4d2b6 100644 (file)
@@ -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