mirror of https://github.com/madler/zlib
Use long long offsets for MinGW.
This commit is contained in:
parent
f02ea29e5f
commit
90c677bc25
2
zconf.h
2
zconf.h
|
@ -511,6 +511,8 @@ typedef uLong FAR uLongf;
|
||||||
|
|
||||||
#if !defined(_WIN32) && defined(Z_LARGE64)
|
#if !defined(_WIN32) && defined(Z_LARGE64)
|
||||||
# define z_off64_t off64_t
|
# define z_off64_t off64_t
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
# define z_off64_t long long
|
||||||
#elif defined(_WIN32) && !defined(__GNUC__)
|
#elif defined(_WIN32) && !defined(__GNUC__)
|
||||||
# define z_off64_t __int64
|
# define z_off64_t __int64
|
||||||
#elif defined(__GO32__)
|
#elif defined(__GO32__)
|
||||||
|
|
|
@ -513,6 +513,8 @@ typedef uLong FAR uLongf;
|
||||||
|
|
||||||
#if !defined(_WIN32) && defined(Z_LARGE64)
|
#if !defined(_WIN32) && defined(Z_LARGE64)
|
||||||
# define z_off64_t off64_t
|
# define z_off64_t off64_t
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
# define z_off64_t long long
|
||||||
#elif defined(_WIN32) && !defined(__GNUC__)
|
#elif defined(_WIN32) && !defined(__GNUC__)
|
||||||
# define z_off64_t __int64
|
# define z_off64_t __int64
|
||||||
#elif defined(__GO32__)
|
#elif defined(__GO32__)
|
||||||
|
|
|
@ -511,6 +511,8 @@ typedef uLong FAR uLongf;
|
||||||
|
|
||||||
#if !defined(_WIN32) && defined(Z_LARGE64)
|
#if !defined(_WIN32) && defined(Z_LARGE64)
|
||||||
# define z_off64_t off64_t
|
# define z_off64_t off64_t
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
# define z_off64_t long long
|
||||||
#elif defined(_WIN32) && !defined(__GNUC__)
|
#elif defined(_WIN32) && !defined(__GNUC__)
|
||||||
# define z_off64_t __int64
|
# define z_off64_t __int64
|
||||||
#elif defined(__GO32__)
|
#elif defined(__GO32__)
|
||||||
|
|
Loading…
Reference in New Issue