Ticket #24568: zlib.h.diff

File zlib.h.diff, 1008 bytes (added by hashar@…, 15 years ago)

the target patch files for reference.

  • zlib.h

    old new  
    15621562 * functions are changed to 64 bits) -- in case these are set on systems
    15631563 * without large file support, _LFS64_LARGEFILE must also be true
    15641564 */
    1565 #if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
     1565#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 && !defined(__APPLE__)
    15661566   ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
    15671567   ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int));
    15681568   ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile));
     
    15781578#  define gzoffset gzoffset64
    15791579#  define adler32_combine adler32_combine64
    15801580#  define crc32_combine crc32_combine64
    1581 #  ifdef _LARGEFILE64_SOURCE
     1581#  ifdef _LARGEFILE64_SOURCE && !defined(__APPLE__)
    15821582     ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
    15831583     ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int));
    15841584     ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile));