diff options
author | Steve Kondik <shade@chemlab.org> | 2013-07-25 23:16:12 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2013-07-25 23:16:12 -0700 |
commit | 20f1a74432fdb680742c150dc63e4d9ca3bbc2ad (patch) | |
tree | b5d2dec31d20fe25de32d545d5061d51cb25bc88 | |
parent | 795f5086bb2f25531f2a5ba6592b239e55548047 (diff) | |
download | android_external_zlib-cm-10.2.tar.gz android_external_zlib-cm-10.2.tar.bz2 android_external_zlib-cm-10.2.zip |
Fix usage of 64-bit IO functionscm-10.2.1cm-10.2.0cm-10.2-M1stable/cm-10.2cm-10.2
Change-Id: I8751de19a37c1d57997488dd29b42d0daa66cfc1
-rw-r--r-- | src/contrib/minizip/minizip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contrib/minizip/minizip.c b/src/contrib/minizip/minizip.c index 4288962..50a0570 100644 --- a/src/contrib/minizip/minizip.c +++ b/src/contrib/minizip/minizip.c @@ -28,7 +28,7 @@ #endif #endif -#ifdef __APPLE__ +#if defined(__APPLE__) || 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) |