Ticket #24067: zlib.h.diff

File zlib.h.diff, 946 bytes (added by jmroot (Joshua Root), 15 years ago)
  • zlib.h

    old new  
    15561556        inflateBackInit_((strm), (windowBits), (window), \
    15571557                                            ZLIB_VERSION, sizeof(z_stream))
    15581558
    1559 #ifdef _LARGEFILE64_SOURCE
     1559#if defined(_LARGEFILE64_SOURCE) && !defined(__APPLE__)
    15601560   ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
    15611561   ZEXTERN off64_t ZEXPORT gzseek64 OF((gzFile, off64_t, int));
    15621562   ZEXTERN off64_t ZEXPORT gztell64 OF((gzFile));
     
    15721572#  define gzoffset gzoffset64
    15731573#  define adler32_combine adler32_combine64
    15741574#  define crc32_combine crc32_combine64
    1575 #  ifndef _LARGEFILE64_SOURCE
     1575#  if !defined(_LARGEFILE64_SOURCE) || defined(__APPLE__)
    15761576     ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
    15771577     ZEXTERN off_t ZEXPORT gzseek64 OF((gzFile, off_t, int));
    15781578     ZEXTERN off_t ZEXPORT gztell64 OF((gzFile));