Index: third_party/zlib/zlib.gyp |
=================================================================== |
--- third_party/zlib/zlib.gyp (revision 114935) |
+++ third_party/zlib/zlib.gyp (working copy) |
@@ -71,9 +71,10 @@ |
'contrib/minizip/iowin32.c' |
], |
}], |
- ['OS=="mac" or os_bsd==1', { |
- # Mac and the BSDs don't have fopen64, ftello64, or fseeko64. |
- # We use fopen, ftell, and fseek instead on these systems. |
+ ['OS=="mac" or os_bsd==1 or OS=="android"', { |
+ # Mac, Android and the BSDs don't have fopen64, ftello64, or |
+ # fseeko64. We use fopen, ftell, and fseek instead on these |
+ # systems. |
'defines': [ |
'USE_FILE32API' |
], |
@@ -103,6 +104,14 @@ |
'contrib/minizip/zip.h', |
], |
'conditions': [ |
+ ['OS=="mac" or os_bsd==1 or OS=="android"', { |
+ # Mac, Android and the BSDs don't have fopen64, ftello64, or |
+ # fseeko64. We use fopen, ftell, and fseek instead on these |
+ # systems. |
+ 'defines': [ |
+ 'USE_FILE32API' |
+ ], |
+ }], |
['OS=="android"', { |
'toolsets': ['target', 'host'], |
}], |