Ticket #24067: patch-largefile64.diff
File patch-largefile64.diff, 850 bytes (added by gellule.xg@…, 15 years ago) |
---|
-
zlib.h
old new 1556 1556 inflateBackInit_((strm), (windowBits), (window), \ 1557 1557 ZLIB_VERSION, sizeof(z_stream)) 1558 1558 1559 #if def _LARGEFILE64_SOURCE1559 #if defined(_LARGEFILE64_SOURCE) && !defined(__APPLE__) 1560 1560 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); 1561 1561 ZEXTERN off64_t ZEXPORT gzseek64 OF((gzFile, off64_t, int)); 1562 1562 ZEXTERN off64_t ZEXPORT gztell64 OF((gzFile)); … … 1565 1565 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, off64_t)); 1566 1566 #endif 1567 1567 1568 #if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS == 64 1568 #if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS == 64 && !defined(__APPLE__) 1569 1569 # define gzopen gzopen64 1570 1570 # define gzseek gzseek64 1571 1571 # define gztell gztell64