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
This commit is contained in:
Daniel Gibson 2024-10-11 01:03:53 +02:00
parent 60ec3141cf
commit 7354fff406

View file

@ -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)