From 7354fff4062a62df7a68632586863a854d0ea9c2 Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Fri, 11 Oct 2024 01:03:53 +0200 Subject: [PATCH] Fix setting z_off64_t in minizconf.h checking if Z_LARGE64 is defined doesn't make much sense because that is from from zlib which this helps replace.. so on non-windows we always ran into the #define z_off64_t z_off_t case which doesn't give us a 64bit offset on 32bit systems.. Should work better now. fixes #622 --- neo/framework/miniz/minizconf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/framework/miniz/minizconf.h b/neo/framework/miniz/minizconf.h index 982ca5f3..a3eee486 100644 --- a/neo/framework/miniz/minizconf.h +++ b/neo/framework/miniz/minizconf.h @@ -50,7 +50,7 @@ #endif // FIXME: why not just set this to int64_t? -#if !defined(_WIN32) && defined(Z_LARGE64) +#if !defined(_WIN32) && defined(__USE_LARGEFILE64) #define z_off64_t off64_t #else #if defined(_WIN32)