diff options
author | DLL125 <134442578+DLL125@users.noreply.github.com> | 2024-04-10 18:47:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-10 18:47:29 +0200 |
commit | ecf1047019190d07468489d2dfd2fdc56c092e26 (patch) | |
tree | 539c0290be9f1d8ddc4dc2a8ce51be6d7707383c /src/Common/zlib/gzguts.h | |
parent | ce2a254c51cdd14f9087142391185156e3cc6eac (diff) | |
download | VeraCrypt-ecf1047019190d07468489d2dfd2fdc56c092e26.tar.gz VeraCrypt-ecf1047019190d07468489d2dfd2fdc56c092e26.zip |
update zlib + copyright (#1302)
Diffstat (limited to 'src/Common/zlib/gzguts.h')
-rw-r--r-- | src/Common/zlib/gzguts.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Common/zlib/gzguts.h b/src/Common/zlib/gzguts.h index f9375047..eba72085 100644 --- a/src/Common/zlib/gzguts.h +++ b/src/Common/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 */ @@ -210,9 +210,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()) |