From 04134633fa6f8a9ac87ffd4b2683ca61bd41acd6 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sun, 11 Feb 2024 15:37:46 -0800 Subject: Use 64-bit offsets in DJGPP. --- zconf.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'zconf.h') diff --git a/zconf.h b/zconf.h index 0a9f22c..fbe7a79 100644 --- a/zconf.h +++ b/zconf.h @@ -511,12 +511,12 @@ typedef uLong FAR uLongf; #if !defined(_WIN32) && defined(Z_LARGE64) # define z_off64_t off64_t +#elif defined(_WIN32) && !defined(__GNUC__) +# define z_off64_t __int64 +#elif defined(__GO32__) +# define z_off64_t offset_t #else -# if defined(_WIN32) && !defined(__GNUC__) -# define z_off64_t __int64 -# else -# define z_off64_t z_off_t -# endif +# define z_off64_t z_off_t #endif /* MVS linker does not support external names larger than 8 bytes */ -- cgit v1.2.3-55-g6feb