diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2024-01-24 12:39:37 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2024-01-24 13:35:32 +0300 |
commit | 85d05c2270ed38dc8fb5862e28aec27223691f5f (patch) | |
tree | 3c41fe8a7ac10f060c78118a6b0c43daefb40060 /contrib/libs/zlib/gzguts.h | |
parent | 132096b5614049a5d9d4cceb0f9fd15053ff350b (diff) | |
download | ydb-85d05c2270ed38dc8fb5862e28aec27223691f5f.tar.gz |
Update contrib/libs/zlib to 1.3.1
Diffstat (limited to 'contrib/libs/zlib/gzguts.h')
-rw-r--r-- | contrib/libs/zlib/gzguts.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/contrib/libs/zlib/gzguts.h b/contrib/libs/zlib/gzguts.h index 00bc944958..22bb1ce2ec 100644 --- a/contrib/libs/zlib/gzguts.h +++ b/contrib/libs/zlib/gzguts.h @@ -1,5 +1,5 @@ /* gzguts.h -- zlib internal header definitions for gz* operations - * Copyright (C) 2004-2019 Mark Adler + * Copyright (C) 2004-2024 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ @@ -212,9 +212,5 @@ char ZLIB_INTERNAL *gz_strwinerror(DWORD error); /* GT_OFF(x), where x is an unsigned value, is true if x > maximum z_off64_t value -- needed when comparing unsigned to z_off64_t, which is signed (possible z_off64_t types off_t, off64_t, and long are all signed) */ -#ifdef INT_MAX -# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > INT_MAX) -#else unsigned ZLIB_INTERNAL gz_intmax(void); -# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax()) -#endif +#define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax()) |