Index: third_party/zlib/zlib.gyp |
diff --git a/third_party/zlib/zlib.gyp b/third_party/zlib/zlib.gyp |
index 87fe0064b621bf49f25e725139b9b5fb48081212..edd0725f3c90407c7a9ea3e50636b7525c978bb0 100644 |
--- a/third_party/zlib/zlib.gyp |
+++ b/third_party/zlib/zlib.gyp |
@@ -71,9 +71,9 @@ |
'contrib/minizip/iowin32.c' |
], |
}], |
- ['OS=="mac"', { |
- # Mac does not have fopen64, ftello64, or fseeko64. We use fopen, |
- # ftell, and fseek instead on Mac. |
+ ['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. |
'defines': [ |
'USE_FILE32API' |
], |