minizconf.h: (hopefully) fix MinGW compatibility of z_off64_t

This commit is contained in:
Daniel Gibson 2024-06-08 10:44:02 +02:00
parent ab676878b9
commit a6870cabfc

View file

@ -53,8 +53,13 @@
#if !defined(_WIN32) && defined(Z_LARGE64)
#define z_off64_t off64_t
#else
# if defined(_WIN32) && !defined(__GNUC__)
#if defined(_WIN32)
#ifdef _MSC_VER
#define z_off64_t __int64
#else
#include <stdint.h>
#define z_off64_t int64_t
#endif
#else
#define z_off64_t z_off_t
#endif