aboutsummaryrefslogtreecommitdiff
path: root/zconf.h.in
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2024-03-22 22:25:40 -0700
committerMark Adler <madler@alumni.caltech.edu>2024-03-22 22:29:01 -0700
commit90c677bc25f7ebf8be95ab0b4fe752c095417600 (patch)
tree5397c7283c6c1048505042d4a9b795dc0b42ff91 /zconf.h.in
parentf02ea29e5f5f1b14e71dfdf44bf39ee969ca9bde (diff)
downloadzlib-90c677bc25f7ebf8be95ab0b4fe752c095417600.tar.gz
zlib-90c677bc25f7ebf8be95ab0b4fe752c095417600.tar.bz2
zlib-90c677bc25f7ebf8be95ab0b4fe752c095417600.zip
Use long long offsets for MinGW.
Diffstat (limited to 'zconf.h.in')
-rw-r--r--zconf.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/zconf.h.in b/zconf.h.in
index fbe7a79..ea3b6d6 100644
--- a/zconf.h.in
+++ b/zconf.h.in
@@ -511,6 +511,8 @@ typedef uLong FAR uLongf;
511 511
512#if !defined(_WIN32) && defined(Z_LARGE64) 512#if !defined(_WIN32) && defined(Z_LARGE64)
513# define z_off64_t off64_t 513# define z_off64_t off64_t
514#elif defined(__MINGW32__)
515# define z_off64_t long long
514#elif defined(_WIN32) && !defined(__GNUC__) 516#elif defined(_WIN32) && !defined(__GNUC__)
515# define z_off64_t __int64 517# define z_off64_t __int64
516#elif defined(__GO32__) 518#elif defined(__GO32__)