From 2421e871afc89c52c00940cb8d90438bb6c4e6e9 Mon Sep 17 00:00:00 2001 From: "jnd@chromium.org" Date: Tue, 20 Dec 2011 13:29:35 +0000 Subject: define USE_FILE32API on Android too BUG= TEST=compile Review URL: http://codereview.chromium.org/8987002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115121 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/zlib/zlib.gyp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'third_party/zlib') 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'], }], -- cgit v1.1