diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-02-17 09:40:29 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-02-17 12:20:28 +0100 |
| commit | b90437119d2ebe3211dcaf9bfee7e68eb5058874 (patch) | |
| tree | 9f6e2497af3ee07e6a8083dc4ef42dde5b6a951d /zlib/gzguts.h | |
| parent | 00cdb1757ff37177d7a6440fc94f044b5614c821 (diff) | |
Update bundled zlib to version 1.3.1
Diffstat (limited to 'zlib/gzguts.h')
| -rw-r--r-- | zlib/gzguts.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/zlib/gzguts.h b/zlib/gzguts.h index f9375047e..eba72085b 100644 --- a/zlib/gzguts.h +++ b/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()) |
