From b57d52ce774a80463545c7538819b56bcd7dff56 Mon Sep 17 00:00:00 2001 From: Calvin Buckley Date: Tue, 20 Aug 2019 11:00:24 -0300 Subject: [PATCH] Fix minizip compile on Haiku (#16301) it doesn't have f*64 funcs, it seems --- support/minizip/ioapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.11.4.GIT