diff options
Diffstat (limited to 'src/contrib/minizip/minizip.c')
-rw-r--r-- | src/contrib/minizip/minizip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contrib/minizip/minizip.c b/src/contrib/minizip/minizip.c index 4288962..a891af0 100644 --- a/src/contrib/minizip/minizip.c +++ b/src/contrib/minizip/minizip.c @@ -13,7 +13,7 @@ */ -#if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__)) +#if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__)) && (!defined(__ANDROID__)) #ifndef __USE_FILE_OFFSET64 #define __USE_FILE_OFFSET64 #endif @@ -28,7 +28,7 @@ #endif #endif -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(__ANDROID__) // 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) |