diff options
author | Calvin Buckley <calvin@cmpct.info> | 2019-08-20 17:00:24 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-08-20 17:00:24 +0300 |
commit | b57d52ce774a80463545c7538819b56bcd7dff56 (patch) | |
tree | ec1cf411d977bb5a46756d71366457b24303e392 /support/minizip | |
parent | 169205813b7d8f75a435edc092c8aa6678754711 (diff) |
Fix minizip compile on Haiku (#16301)
it doesn't have f*64 funcs, it seems
Diffstat (limited to 'support/minizip')
-rw-r--r-- | support/minizip/ioapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/minizip/ioapi.c b/support/minizip/ioapi.c index 7f5c191b2af..649255c52e8 100644 --- a/support/minizip/ioapi.c +++ b/support/minizip/ioapi.c @@ -14,7 +14,7 @@ #define _CRT_SECURE_NO_WARNINGS #endif -#if defined(__APPLE__) || defined(IOAPI_NO_64) +#if defined(__APPLE__) || defined(IOAPI_NO_64) || defined(__HAIKU__) // In darwin and perhaps other BSD variants off_t is a 64 bit value, hence no need for specific 64 bit functions #define FOPEN_FUNC(filename, mode) fopen(filename, mode) #define FTELLO_FUNC(stream) ftello(stream) |