diff options
Diffstat (limited to 'compat/zlib/zconf.h.cmakein')
-rw-r--r-- | compat/zlib/zconf.h.cmakein | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/compat/zlib/zconf.h.cmakein b/compat/zlib/zconf.h.cmakein index 247ba24..310c439 100644 --- a/compat/zlib/zconf.h.cmakein +++ b/compat/zlib/zconf.h.cmakein @@ -243,7 +243,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) @@ -522,7 +526,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 |