From fef549da1174fb99821d130db22d9b50ca53f9c0 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 5 Sep 2025 20:08:18 -0700 Subject: [PATCH] zlib: yet one more portability hack ... this time for Win64 ... Signed-off-by: H. Peter Anvin (Intel) --- zlib/zutil.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zlib/zutil.h b/zlib/zutil.h index 48dd7feba..8d628c7c2 100644 --- a/zlib/zutil.h +++ b/zlib/zutil.h @@ -168,7 +168,8 @@ 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) && \ +#if 0 && /* NASM hack */ \ + !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);