diff options
Diffstat (limited to 'zconf.h')
| -rw-r--r-- | zconf.h | 29 |
1 files changed, 20 insertions, 9 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* zconf.h -- configuration of the zlib compression library | 1 | /* zconf.h -- configuration of the zlib compression library |
| 2 | * Copyright (C) 1995-2007 Jean-loup Gailly. | 2 | * Copyright (C) 1995-2010 Jean-loup Gailly. |
| 3 | * For conditions of distribution and use, see copyright notice in zlib.h | 3 | * For conditions of distribution and use, see copyright notice in zlib.h |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| @@ -26,11 +26,13 @@ | |||
| 26 | # define _tr_tally z__tr_tally | 26 | # define _tr_tally z__tr_tally |
| 27 | # define adler32 z_adler32 | 27 | # define adler32 z_adler32 |
| 28 | # define adler32_combine z_adler32_combine | 28 | # define adler32_combine z_adler32_combine |
| 29 | # define adler32_combine64 z_adler32_combine64 | ||
| 29 | # define compress z_compress | 30 | # define compress z_compress |
| 30 | # define compress2 z_compress2 | 31 | # define compress2 z_compress2 |
| 31 | # define compressBound z_compressBound | 32 | # define compressBound z_compressBound |
| 32 | # define crc32 z_crc32 | 33 | # define crc32 z_crc32 |
| 33 | # define crc32_combine z_crc32_combine | 34 | # define crc32_combine z_crc32_combine |
| 35 | # define crc32_combine64 z_crc32_combine64 | ||
| 34 | # define deflate z_deflate | 36 | # define deflate z_deflate |
| 35 | # define deflateBound z_deflateBound | 37 | # define deflateBound z_deflateBound |
| 36 | # define deflateCopy z_deflateCopy | 38 | # define deflateCopy z_deflateCopy |
| @@ -45,6 +47,8 @@ | |||
| 45 | # define deflateTune z_deflateTune | 47 | # define deflateTune z_deflateTune |
| 46 | # define deflate_copyright z_deflate_copyright | 48 | # define deflate_copyright z_deflate_copyright |
| 47 | # define get_crc_table z_get_crc_table | 49 | # define get_crc_table z_get_crc_table |
| 50 | # define gz_error z_gz_error | ||
| 51 | # define gz_strwinerror z_gz_strwinerror | ||
| 48 | # define gzbuffer z_gzbuffer | 52 | # define gzbuffer z_gzbuffer |
| 49 | # define gzclearerr z_gzclearerr | 53 | # define gzclearerr z_gzclearerr |
| 50 | # define gzclose z_gzclose | 54 | # define gzclose z_gzclose |
| @@ -58,15 +62,19 @@ | |||
| 58 | # define gzgetc z_gzgetc | 62 | # define gzgetc z_gzgetc |
| 59 | # define gzgets z_gzgets | 63 | # define gzgets z_gzgets |
| 60 | # define gzoffset z_gzoffset | 64 | # define gzoffset z_gzoffset |
| 65 | # define gzoffset64 z_gzoffset64 | ||
| 61 | # define gzopen z_gzopen | 66 | # define gzopen z_gzopen |
| 67 | # define gzopen64 z_gzopen64 | ||
| 62 | # define gzprintf z_gzprintf | 68 | # define gzprintf z_gzprintf |
| 63 | # define gzputc z_gzputc | 69 | # define gzputc z_gzputc |
| 64 | # define gzputs z_gzputs | 70 | # define gzputs z_gzputs |
| 65 | # define gzread z_gzread | 71 | # define gzread z_gzread |
| 66 | # define gzrewind z_gzrewind | 72 | # define gzrewind z_gzrewind |
| 67 | # define gzseek z_gzseek | 73 | # define gzseek z_gzseek |
| 74 | # define gzseek64 z_gzseek64 | ||
| 68 | # define gzsetparams z_gzsetparams | 75 | # define gzsetparams z_gzsetparams |
| 69 | # define gztell z_gztell | 76 | # define gztell z_gztell |
| 77 | # define gztell64 z_gztell64 | ||
| 70 | # define gzungetc z_gzungetc | 78 | # define gzungetc z_gzungetc |
| 71 | # define gzwrite z_gzwrite | 79 | # define gzwrite z_gzwrite |
| 72 | # define inflate z_inflate | 80 | # define inflate z_inflate |
| @@ -85,12 +93,12 @@ | |||
| 85 | # define inflateSetDictionary z_inflateSetDictionary | 93 | # define inflateSetDictionary z_inflateSetDictionary |
| 86 | # define inflateSync z_inflateSync | 94 | # define inflateSync z_inflateSync |
| 87 | # define inflateSyncPoint z_inflateSyncPoint | 95 | # define inflateSyncPoint z_inflateSyncPoint |
| 96 | # define inflateUndermine z_inflateUndermine | ||
| 88 | # define inflate_copyright z_inflate_copyright | 97 | # define inflate_copyright z_inflate_copyright |
| 89 | # define inflate_fast z_inflate_fast | 98 | # define inflate_fast z_inflate_fast |
| 90 | # define inflate_table z_inflate_table | 99 | # define inflate_table z_inflate_table |
| 91 | # define uncompress z_uncompress | 100 | # define uncompress z_uncompress |
| 92 | # define zError z_zError | 101 | # define zError z_zError |
| 93 | # define z_errmsg z_z_errmsg | ||
| 94 | # define zcalloc z_zcalloc | 102 | # define zcalloc z_zcalloc |
| 95 | # define zcfree z_zcfree | 103 | # define zcfree z_zcfree |
| 96 | # define zlibCompileFlags z_zlibCompileFlags | 104 | # define zlibCompileFlags z_zlibCompileFlags |
| @@ -113,18 +121,12 @@ | |||
| 113 | # define uLong z_uLong | 121 | # define uLong z_uLong |
| 114 | # define uLongf z_uLongf | 122 | # define uLongf z_uLongf |
| 115 | # define voidp z_voidp | 123 | # define voidp z_voidp |
| 116 | # define voidp z_voidp | ||
| 117 | # define voidpc z_voidpc | ||
| 118 | # define voidpc z_voidpc | 124 | # define voidpc z_voidpc |
| 119 | # define voidpf z_voidpf | 125 | # define voidpf z_voidpf |
| 120 | # define voidpf z_voidpf | ||
| 121 | # define z_stream z_z_stream | ||
| 122 | # define z_streamp z_z_streamp | ||
| 123 | 126 | ||
| 124 | /* all zlib structs in zlib.h and zconf.h */ | 127 | /* all zlib structs in zlib.h and zconf.h */ |
| 125 | # define gz_header_s z_gz_header_s | 128 | # define gz_header_s z_gz_header_s |
| 126 | # define internal_state z_internal_state | 129 | # define internal_state z_internal_state |
| 127 | # define z_stream_s z_z_stream_s | ||
| 128 | 130 | ||
| 129 | #endif | 131 | #endif |
| 130 | 132 | ||
| @@ -357,7 +359,16 @@ typedef uLong FAR uLongf; | |||
| 357 | typedef Byte *voidp; | 359 | typedef Byte *voidp; |
| 358 | #endif | 360 | #endif |
| 359 | 361 | ||
| 360 | #include "zlibdefs.h" /* created by configure */ | 362 | #ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */ |
| 363 | # include <sys/types.h> /* for off_t */ | ||
| 364 | # include <unistd.h> /* for SEEK_* and off_t */ | ||
| 365 | # ifdef VMS | ||
| 366 | # include <unixio.h> /* for off_t */ | ||
| 367 | # endif | ||
| 368 | # ifndef z_off_t | ||
| 369 | # define z_off_t off_t | ||
| 370 | # endif | ||
| 371 | #endif | ||
| 361 | 372 | ||
| 362 | #ifdef _LARGEFILE64_SOURCE | 373 | #ifdef _LARGEFILE64_SOURCE |
| 363 | # include <sys/types.h> | 374 | # include <sys/types.h> |
