summaryrefslogtreecommitdiffstats
path: root/compat/zlib/zconf.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'compat/zlib/zconf.h.in')
-rw-r--r--compat/zlib/zconf.h.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/compat/zlib/zconf.h.in b/compat/zlib/zconf.h.in
index bf977d3..fb76ffe 100644
--- a/compat/zlib/zconf.h.in
+++ b/compat/zlib/zconf.h.in
@@ -241,7 +241,11 @@
#endif
#ifdef Z_SOLO
- typedef unsigned long z_size_t;
+# ifdef _WIN64
+ typedef unsigned long long z_size_t;
+# else
+ typedef unsigned long z_size_t;
+# endif
#else
# define z_longlong long long
# if defined(NO_SIZE_T)
@@ -520,7 +524,7 @@ typedef uLong FAR uLongf;
#if !defined(_WIN32) && defined(Z_LARGE64)
# define z_off64_t off64_t
#else
-# if defined(_WIN32) && !defined(__GNUC__) && !defined(Z_SOLO)
+# if defined(_WIN32) && !defined(__GNUC__)
# define z_off64_t __int64
# else
# define z_off64_t z_off_t