summaryrefslogtreecommitdiffstats
path: root/source/l/zlib/zlib.largefile64_source.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/zlib/zlib.largefile64_source.diff')
-rw-r--r--source/l/zlib/zlib.largefile64_source.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/l/zlib/zlib.largefile64_source.diff b/source/l/zlib/zlib.largefile64_source.diff
new file mode 100644
index 000000000..61d7b84dd
--- /dev/null
+++ b/source/l/zlib/zlib.largefile64_source.diff
@@ -0,0 +1,11 @@
+--- ./zlib.h.orig 2010-04-19 23:12:48.000000000 -0500
++++ ./zlib.h 2011-02-09 12:12:15.000000000 -0600
+@@ -1578,7 +1578,7 @@
+ # define gzoffset gzoffset64
+ # define adler32_combine adler32_combine64
+ # define crc32_combine crc32_combine64
+-# ifdef _LARGEFILE64_SOURCE
++# ifndef _LARGEFILE64_SOURCE
+ ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
+ ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int));
+ ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile));