From 901f8627377dc2a167afda909601edc1cdec716d Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 14 Jan 2021 13:43:08 +1000 Subject: [PATCH] dep/minizip: Don't define 64-bit file macros on Android Doesn't compile with current NDKs otherwise. --- dep/minizip/include/ioapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dep/minizip/include/ioapi.h b/dep/minizip/include/ioapi.h index 8dcbdb06e..3d7c5e37f 100644 --- a/dep/minizip/include/ioapi.h +++ b/dep/minizip/include/ioapi.h @@ -21,7 +21,7 @@ #ifndef _ZLIBIOAPI64_H #define _ZLIBIOAPI64_H -#if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__)) +#if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__)) && !(defined(__ANDROID__)) // Linux needs this to support file operation on files larger then 4+GB // But might need better if/def to select just the platforms that needs them.