aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/zlib/zconf.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2023-09-06 21:59:05 +0300
committerthegeorg <thegeorg@yandex-team.com>2023-09-06 22:15:57 +0300
commit53f81d0ce8d2103f54b291b25f171ecd00e13d81 (patch)
tree84e1a98ec06c4570e9dfbd9cf9176d22b3488d95 /contrib/libs/zlib/zconf.h
parent645adb92481ca39f3981285fde9b5f41e783e978 (diff)
downloadydb-53f81d0ce8d2103f54b291b25f171ecd00e13d81.tar.gz
Update contrib/libs/zlib to 1.3
Diffstat (limited to 'contrib/libs/zlib/zconf.h')
-rw-r--r--contrib/libs/zlib/zconf.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/libs/zlib/zconf.h b/contrib/libs/zlib/zconf.h
index f8d95cc415e..4b238d624a2 100644
--- a/contrib/libs/zlib/zconf.h
+++ b/contrib/libs/zlib/zconf.h
@@ -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)
@@ -535,7 +539,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