From 5c42a230b7b468dff011f444161c0145b5efae59 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sun, 11 Feb 2024 15:42:08 -0800 Subject: Correct argument types for 64-bit combine functions. --- zutil.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'zutil.h') diff --git a/zutil.h b/zutil.h index 630bc11..4f22299 100644 --- a/zutil.h +++ b/zutil.h @@ -168,11 +168,10 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ #endif /* provide prototypes for these when building zlib without LFS */ -#if !defined(_WIN32) && \ - (!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0) - ZEXTERN uLong ZEXPORT adler32_combine64(uLong, uLong, z_off_t); - ZEXTERN uLong ZEXPORT crc32_combine64(uLong, uLong, z_off_t); - ZEXTERN uLong ZEXPORT crc32_combine_gen64(z_off_t); +#ifndef Z_LARGE64 + ZEXTERN uLong ZEXPORT adler32_combine64(uLong, uLong, z_off64_t); + ZEXTERN uLong ZEXPORT crc32_combine64(uLong, uLong, z_off64_t); + ZEXTERN uLong ZEXPORT crc32_combine_gen64(z_off64_t); #endif /* common defaults */ -- cgit v1.2.3-55-g6feb