summaryrefslogtreecommitdiffstats
path: root/third_party/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/zlib')
-rw-r--r--third_party/zlib/zlib.gyp15
1 files changed, 12 insertions, 3 deletions
diff --git a/third_party/zlib/zlib.gyp b/third_party/zlib/zlib.gyp
index edd0725..62d7ba0 100644
--- a/third_party/zlib/zlib.gyp
+++ b/third_party/zlib/zlib.gyp
@@ -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'],
}],