From d0d62c059867a54ba6c6631b269b1474d82e7018 Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Sun, 22 Jun 2014 10:22:39 +0000 Subject: No fopen64() on Android. --- src/minizip/ioapi.c.diff | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/minizip/ioapi.c.diff') diff --git a/src/minizip/ioapi.c.diff b/src/minizip/ioapi.c.diff index 5040b08..c42c349 100644 --- a/src/minizip/ioapi.c.diff +++ b/src/minizip/ioapi.c.diff @@ -1,5 +1,14 @@ --- ioapi.c.orig 2014-06-10 18:55:32.778807408 +0200 -+++ ioapi.c 2014-06-10 20:01:51.657679218 +0200 ++++ ioapi.c 2014-06-22 12:22:06.606696274 +0200 +@@ -14,7 +14,7 @@ + #define _CRT_SECURE_NO_WARNINGS + #endif + +-#if defined(__APPLE__) || defined(IOAPI_NO_64) ++#if defined(__APPLE__) || defined(__ANDROID__) || defined(IOAPI_NO_64) + // 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) @@ -73,6 +73,7 @@ p_filefunc64_32->zfile_func64.zerror_file = p_filefunc32->zerror_file; p_filefunc64_32->zfile_func64.zread_file = p_filefunc32->zread_file; -- cgit v1.2.3