aboutsummaryrefslogtreecommitdiff
path: root/contrib/minizip/ioapi.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/ioapi.c
parentf679a939d3db557fec0304602a179f0ac78e5afa (diff)
downloadzlib-aa154e3da0d98629bbefe79cdfba8bc7178dc4ad.tar.gz
zlib-aa154e3da0d98629bbefe79cdfba8bc7178dc4ad.tar.bz2
zlib-aa154e3da0d98629bbefe79cdfba8bc7178dc4ad.zip
Support Haiku in minizip.
Diffstat (limited to 'contrib/minizip/ioapi.c')
-rw-r--r--contrib/minizip/ioapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/minizip/ioapi.c b/contrib/minizip/ioapi.c
index 629e51e..782d324 100644
--- a/contrib/minizip/ioapi.c
+++ b/contrib/minizip/ioapi.c
@@ -14,7 +14,7 @@
14 #define _CRT_SECURE_NO_WARNINGS 14 #define _CRT_SECURE_NO_WARNINGS
15#endif 15#endif
16 16
17#if defined(__APPLE__) || defined(IOAPI_NO_64) 17#if defined(__APPLE__) || defined(IOAPI_NO_64) || defined(__HAIKU__) || defined(MINIZIP_FOPEN_NO_64)
18// In darwin and perhaps other BSD variants off_t is a 64 bit value, hence no need for specific 64 bit functions 18// In darwin and perhaps other BSD variants off_t is a 64 bit value, hence no need for specific 64 bit functions
19#define FOPEN_FUNC(filename, mode) fopen(filename, mode) 19#define FOPEN_FUNC(filename, mode) fopen(filename, mode)
20#define FTELLO_FUNC(stream) ftello(stream) 20#define FTELLO_FUNC(stream) ftello(stream)