| Index: third_party/zlib/mozzconf.h
|
| ===================================================================
|
| --- third_party/zlib/mozzconf.h (revision 114133)
|
| +++ third_party/zlib/mozzconf.h (working copy)
|
| @@ -68,7 +68,6 @@
|
| #define compress2 MOZ_Z_compress2
|
| #define compressBound MOZ_Z_compressBound
|
| #define uncompress MOZ_Z_uncompress
|
| -#define gzopen MOZ_Z_gzopen
|
| #define gzdopen MOZ_Z_gzdopen
|
| #define gzsetparams MOZ_Z_gzsetparams
|
| #define gzread MOZ_Z_gzread
|
| @@ -80,9 +79,7 @@
|
| #define gzgetc MOZ_Z_gzgetc
|
| #define gzungetc MOZ_Z_gzungetc
|
| #define gzflush MOZ_Z_gzflush
|
| -#define gzseek MOZ_Z_gzseek
|
| #define gzrewind MOZ_Z_gzrewind
|
| -#define gztell MOZ_Z_gztell
|
| #define gzeof MOZ_Z_gzeof
|
| #define gzclose MOZ_Z_gzclose
|
| #define gzerror MOZ_Z_gzerror
|
| @@ -119,12 +116,59 @@
|
| #define out_func MOZ_Z_out_func
|
|
|
| /* New as of libpng-1.2.3 */
|
| -#define adler32_combine MOZ_Z_adler32_combine
|
| -#define crc32_combine MOZ_Z_crc32_combine
|
| #define deflateSetHeader MOZ_Z_deflateSetHeader
|
| #define deflateTune MOZ_Z_deflateTune
|
| #define gzdirect MOZ_Z_gzdirect
|
| #define inflatePrime MOZ_Z_inflatePrime
|
| #define inflateGetHeader MOZ_Z_inflateGetHeader
|
|
|
| +/* New as of zlib 1.2.5 */
|
| +#define gz_error MOZ_Z_gz_error
|
| +#define gz_intmax MOZ_Z_gz_intmax
|
| +#define gz_strwinerror MOZ_Z_gz_strwinerror
|
| +#define gzbuffer MOZ_Z_gzbuffer
|
| +#define gzclose_r MOZ_Z_gzclose_r
|
| +#define gzclose_w MOZ_Z_gzclose_w
|
| +#define inflateMark MOZ_Z_inflateMark
|
| +#define inflateReset2 MOZ_Z_inflateReset2
|
| +#define inflateUndermine MOZ_Z_inflateUndermine
|
| +#define charf MOZ_Z_charf
|
| +#define gzFile MOZ_Z_gzFile
|
| +#define gz_header MOZ_Z_gz_header
|
| +#define gz_headerp MOZ_Z_gz_headerp
|
| +#define intf MOZ_Z_intf
|
| +#define uInt MOZ_Z_uInt
|
| +#define uIntf MOZ_Z_uIntf
|
| +#define uLong MOZ_Z_uLong
|
| +#define uLongf MOZ_Z_uLongf
|
| +#define voidp MOZ_Z_voidp
|
| +#define voidpc MOZ_Z_voidpc
|
| +#define voidpf MOZ_Z_voidpf
|
| +#define gz_header_s MOZ_Z_gz_header_s
|
| +#define internal_state MOZ_Z_internal_state
|
| +
|
| +/* Mangle Byte types except on Mac. */
|
| +#if !defined(__MACTYPES__)
|
| +#define Byte MOZ_Z_Byte
|
| +#define Bytef MOZ_Z_Bytef
|
| #endif
|
| +
|
| +/* Mangle only 64-bit functions on platforms which support 64-bit files to avoid
|
| + * conflicts with manglings in zlib.h. */
|
| +#if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && _LFS64_LARGEFILE-0
|
| +#define gzopen64 MOZ_Z_gzopen64
|
| +#define gzseek64 MOZ_Z_gzseek64
|
| +#define gztell64 MOZ_Z_gztell64
|
| +#define gzoffset64 MOZ_Z_gzoffset64
|
| +#define adler32_combine64 MOZ_Z_adler32_combine64
|
| +#define crc32_combine64 MOZ_Z_crc32_combine64
|
| +#else
|
| +#define gzopen MOZ_Z_gzopen
|
| +#define gzseek MOZ_Z_gzseek
|
| +#define gztell MOZ_Z_gztell
|
| +#define gzoffset MOZ_Z_gzoffset
|
| +#define adler32_combine MOZ_Z_adler32_combine
|
| +#define crc32_combine MOZ_Z_crc32_combine
|
| +#endif
|
| +
|
| +#endif
|
|
|