aboutsummaryrefslogtreecommitdiff
path: root/contrib/minizip/minizip.c
diff options
context:
space:
mode:
authorGilles Vollant <info@winimage.com>2023-07-29 11:17:19 +0200
committerMark Adler <madler@alumni.caltech.edu>2023-08-03 11:17:07 -0700
commitaa154e3da0d98629bbefe79cdfba8bc7178dc4ad (patch)
treeb07d70b2a8aae22e0579e573158e719954ae37bf /contrib/minizip/minizip.c
parentf679a939d3db557fec0304602a179f0ac78e5afa (diff)
downloadzlib-aa154e3da0d98629bbefe79cdfba8bc7178dc4ad.tar.gz
zlib-aa154e3da0d98629bbefe79cdfba8bc7178dc4ad.tar.bz2
zlib-aa154e3da0d98629bbefe79cdfba8bc7178dc4ad.zip
Support Haiku in minizip.
Diffstat (limited to '')
-rw-r--r--contrib/minizip/minizip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/minizip/minizip.c b/contrib/minizip/minizip.c
index 896c28e..7b5e3eb 100644
--- a/contrib/minizip/minizip.c
+++ b/contrib/minizip/minizip.c
@@ -28,7 +28,7 @@
28 #endif 28 #endif
29#endif 29#endif
30 30
31#ifdef __APPLE__ 31#if defined(__APPLE__) || defined(__HAIKU__) || defined(MINIZIP_FOPEN_NO_64)
32// In darwin and perhaps other BSD variants off_t is a 64 bit value, hence no need for specific 64 bit functions 32// In darwin and perhaps other BSD variants off_t is a 64 bit value, hence no need for specific 64 bit functions
33#define FOPEN_FUNC(filename, mode) fopen(filename, mode) 33#define FOPEN_FUNC(filename, mode) fopen(filename, mode)
34#define FTELLO_FUNC(stream) ftello(stream) 34#define FTELLO_FUNC(stream) ftello(stream)