Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include
File: zconf.h
/* zconf.h -- configuration of the zlib compression library
[0] Fix | Delete
* Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
[1] Fix | Delete
* For conditions of distribution and use, see copyright notice in zlib.h
[2] Fix | Delete
*/
[3] Fix | Delete
[4] Fix | Delete
/* @(#) $Id$ */
[5] Fix | Delete
[6] Fix | Delete
#ifndef ZCONF_H
[7] Fix | Delete
#define ZCONF_H
[8] Fix | Delete
[9] Fix | Delete
/*
[10] Fix | Delete
* If you *really* need a unique prefix for all types and library functions,
[11] Fix | Delete
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
[12] Fix | Delete
* Even better than compiling with -DZ_PREFIX would be to use configure to set
[13] Fix | Delete
* this permanently in zconf.h using "./configure --zprefix".
[14] Fix | Delete
*/
[15] Fix | Delete
#ifdef Z_PREFIX /* may be set to #if 1 by ./configure */
[16] Fix | Delete
# define Z_PREFIX_SET
[17] Fix | Delete
[18] Fix | Delete
/* all linked symbols and init macros */
[19] Fix | Delete
# define _dist_code z__dist_code
[20] Fix | Delete
# define _length_code z__length_code
[21] Fix | Delete
# define _tr_align z__tr_align
[22] Fix | Delete
# define _tr_flush_bits z__tr_flush_bits
[23] Fix | Delete
# define _tr_flush_block z__tr_flush_block
[24] Fix | Delete
# define _tr_init z__tr_init
[25] Fix | Delete
# define _tr_stored_block z__tr_stored_block
[26] Fix | Delete
# define _tr_tally z__tr_tally
[27] Fix | Delete
# define adler32 z_adler32
[28] Fix | Delete
# define adler32_combine z_adler32_combine
[29] Fix | Delete
# define adler32_combine64 z_adler32_combine64
[30] Fix | Delete
# define adler32_z z_adler32_z
[31] Fix | Delete
# ifndef Z_SOLO
[32] Fix | Delete
# define compress z_compress
[33] Fix | Delete
# define compress2 z_compress2
[34] Fix | Delete
# define compressBound z_compressBound
[35] Fix | Delete
# endif
[36] Fix | Delete
# define crc32 z_crc32
[37] Fix | Delete
# define crc32_combine z_crc32_combine
[38] Fix | Delete
# define crc32_combine64 z_crc32_combine64
[39] Fix | Delete
# define crc32_z z_crc32_z
[40] Fix | Delete
# define deflate z_deflate
[41] Fix | Delete
# define deflateBound z_deflateBound
[42] Fix | Delete
# define deflateCopy z_deflateCopy
[43] Fix | Delete
# define deflateEnd z_deflateEnd
[44] Fix | Delete
# define deflateGetDictionary z_deflateGetDictionary
[45] Fix | Delete
# define deflateInit z_deflateInit
[46] Fix | Delete
# define deflateInit2 z_deflateInit2
[47] Fix | Delete
# define deflateInit2_ z_deflateInit2_
[48] Fix | Delete
# define deflateInit_ z_deflateInit_
[49] Fix | Delete
# define deflateParams z_deflateParams
[50] Fix | Delete
# define deflatePending z_deflatePending
[51] Fix | Delete
# define deflatePrime z_deflatePrime
[52] Fix | Delete
# define deflateReset z_deflateReset
[53] Fix | Delete
# define deflateResetKeep z_deflateResetKeep
[54] Fix | Delete
# define deflateSetDictionary z_deflateSetDictionary
[55] Fix | Delete
# define deflateSetHeader z_deflateSetHeader
[56] Fix | Delete
# define deflateTune z_deflateTune
[57] Fix | Delete
# define deflate_copyright z_deflate_copyright
[58] Fix | Delete
# define get_crc_table z_get_crc_table
[59] Fix | Delete
# ifndef Z_SOLO
[60] Fix | Delete
# define gz_error z_gz_error
[61] Fix | Delete
# define gz_intmax z_gz_intmax
[62] Fix | Delete
# define gz_strwinerror z_gz_strwinerror
[63] Fix | Delete
# define gzbuffer z_gzbuffer
[64] Fix | Delete
# define gzclearerr z_gzclearerr
[65] Fix | Delete
# define gzclose z_gzclose
[66] Fix | Delete
# define gzclose_r z_gzclose_r
[67] Fix | Delete
# define gzclose_w z_gzclose_w
[68] Fix | Delete
# define gzdirect z_gzdirect
[69] Fix | Delete
# define gzdopen z_gzdopen
[70] Fix | Delete
# define gzeof z_gzeof
[71] Fix | Delete
# define gzerror z_gzerror
[72] Fix | Delete
# define gzflush z_gzflush
[73] Fix | Delete
# define gzfread z_gzfread
[74] Fix | Delete
# define gzfwrite z_gzfwrite
[75] Fix | Delete
# define gzgetc z_gzgetc
[76] Fix | Delete
# define gzgetc_ z_gzgetc_
[77] Fix | Delete
# define gzgets z_gzgets
[78] Fix | Delete
# define gzoffset z_gzoffset
[79] Fix | Delete
# define gzoffset64 z_gzoffset64
[80] Fix | Delete
# define gzopen z_gzopen
[81] Fix | Delete
# define gzopen64 z_gzopen64
[82] Fix | Delete
# ifdef _WIN32
[83] Fix | Delete
# define gzopen_w z_gzopen_w
[84] Fix | Delete
# endif
[85] Fix | Delete
# define gzprintf z_gzprintf
[86] Fix | Delete
# define gzputc z_gzputc
[87] Fix | Delete
# define gzputs z_gzputs
[88] Fix | Delete
# define gzread z_gzread
[89] Fix | Delete
# define gzrewind z_gzrewind
[90] Fix | Delete
# define gzseek z_gzseek
[91] Fix | Delete
# define gzseek64 z_gzseek64
[92] Fix | Delete
# define gzsetparams z_gzsetparams
[93] Fix | Delete
# define gztell z_gztell
[94] Fix | Delete
# define gztell64 z_gztell64
[95] Fix | Delete
# define gzungetc z_gzungetc
[96] Fix | Delete
# define gzvprintf z_gzvprintf
[97] Fix | Delete
# define gzwrite z_gzwrite
[98] Fix | Delete
# endif
[99] Fix | Delete
# define inflate z_inflate
[100] Fix | Delete
# define inflateBack z_inflateBack
[101] Fix | Delete
# define inflateBackEnd z_inflateBackEnd
[102] Fix | Delete
# define inflateBackInit z_inflateBackInit
[103] Fix | Delete
# define inflateBackInit_ z_inflateBackInit_
[104] Fix | Delete
# define inflateCodesUsed z_inflateCodesUsed
[105] Fix | Delete
# define inflateCopy z_inflateCopy
[106] Fix | Delete
# define inflateEnd z_inflateEnd
[107] Fix | Delete
# define inflateGetDictionary z_inflateGetDictionary
[108] Fix | Delete
# define inflateGetHeader z_inflateGetHeader
[109] Fix | Delete
# define inflateInit z_inflateInit
[110] Fix | Delete
# define inflateInit2 z_inflateInit2
[111] Fix | Delete
# define inflateInit2_ z_inflateInit2_
[112] Fix | Delete
# define inflateInit_ z_inflateInit_
[113] Fix | Delete
# define inflateMark z_inflateMark
[114] Fix | Delete
# define inflatePrime z_inflatePrime
[115] Fix | Delete
# define inflateReset z_inflateReset
[116] Fix | Delete
# define inflateReset2 z_inflateReset2
[117] Fix | Delete
# define inflateResetKeep z_inflateResetKeep
[118] Fix | Delete
# define inflateSetDictionary z_inflateSetDictionary
[119] Fix | Delete
# define inflateSync z_inflateSync
[120] Fix | Delete
# define inflateSyncPoint z_inflateSyncPoint
[121] Fix | Delete
# define inflateUndermine z_inflateUndermine
[122] Fix | Delete
# define inflateValidate z_inflateValidate
[123] Fix | Delete
# define inflate_copyright z_inflate_copyright
[124] Fix | Delete
# define inflate_fast z_inflate_fast
[125] Fix | Delete
# define inflate_table z_inflate_table
[126] Fix | Delete
# ifndef Z_SOLO
[127] Fix | Delete
# define uncompress z_uncompress
[128] Fix | Delete
# define uncompress2 z_uncompress2
[129] Fix | Delete
# endif
[130] Fix | Delete
# define zError z_zError
[131] Fix | Delete
# ifndef Z_SOLO
[132] Fix | Delete
# define zcalloc z_zcalloc
[133] Fix | Delete
# define zcfree z_zcfree
[134] Fix | Delete
# endif
[135] Fix | Delete
# define zlibCompileFlags z_zlibCompileFlags
[136] Fix | Delete
# define zlibVersion z_zlibVersion
[137] Fix | Delete
[138] Fix | Delete
/* all zlib typedefs in zlib.h and zconf.h */
[139] Fix | Delete
# define Byte z_Byte
[140] Fix | Delete
# define Bytef z_Bytef
[141] Fix | Delete
# define alloc_func z_alloc_func
[142] Fix | Delete
# define charf z_charf
[143] Fix | Delete
# define free_func z_free_func
[144] Fix | Delete
# ifndef Z_SOLO
[145] Fix | Delete
# define gzFile z_gzFile
[146] Fix | Delete
# endif
[147] Fix | Delete
# define gz_header z_gz_header
[148] Fix | Delete
# define gz_headerp z_gz_headerp
[149] Fix | Delete
# define in_func z_in_func
[150] Fix | Delete
# define intf z_intf
[151] Fix | Delete
# define out_func z_out_func
[152] Fix | Delete
# define uInt z_uInt
[153] Fix | Delete
# define uIntf z_uIntf
[154] Fix | Delete
# define uLong z_uLong
[155] Fix | Delete
# define uLongf z_uLongf
[156] Fix | Delete
# define voidp z_voidp
[157] Fix | Delete
# define voidpc z_voidpc
[158] Fix | Delete
# define voidpf z_voidpf
[159] Fix | Delete
[160] Fix | Delete
/* all zlib structs in zlib.h and zconf.h */
[161] Fix | Delete
# define gz_header_s z_gz_header_s
[162] Fix | Delete
# define internal_state z_internal_state
[163] Fix | Delete
[164] Fix | Delete
#endif
[165] Fix | Delete
[166] Fix | Delete
#if defined(__MSDOS__) && !defined(MSDOS)
[167] Fix | Delete
# define MSDOS
[168] Fix | Delete
#endif
[169] Fix | Delete
#if (defined(OS_2) || defined(__OS2__)) && !defined(OS2)
[170] Fix | Delete
# define OS2
[171] Fix | Delete
#endif
[172] Fix | Delete
#if defined(_WINDOWS) && !defined(WINDOWS)
[173] Fix | Delete
# define WINDOWS
[174] Fix | Delete
#endif
[175] Fix | Delete
#if defined(_WIN32) || defined(_WIN32_WCE) || defined(__WIN32__)
[176] Fix | Delete
# ifndef WIN32
[177] Fix | Delete
# define WIN32
[178] Fix | Delete
# endif
[179] Fix | Delete
#endif
[180] Fix | Delete
#if (defined(MSDOS) || defined(OS2) || defined(WINDOWS)) && !defined(WIN32)
[181] Fix | Delete
# if !defined(__GNUC__) && !defined(__FLAT__) && !defined(__386__)
[182] Fix | Delete
# ifndef SYS16BIT
[183] Fix | Delete
# define SYS16BIT
[184] Fix | Delete
# endif
[185] Fix | Delete
# endif
[186] Fix | Delete
#endif
[187] Fix | Delete
[188] Fix | Delete
/*
[189] Fix | Delete
* Compile with -DMAXSEG_64K if the alloc function cannot allocate more
[190] Fix | Delete
* than 64k bytes at a time (needed on systems with 16-bit int).
[191] Fix | Delete
*/
[192] Fix | Delete
#ifdef SYS16BIT
[193] Fix | Delete
# define MAXSEG_64K
[194] Fix | Delete
#endif
[195] Fix | Delete
#ifdef MSDOS
[196] Fix | Delete
# define UNALIGNED_OK
[197] Fix | Delete
#endif
[198] Fix | Delete
[199] Fix | Delete
#ifdef __STDC_VERSION__
[200] Fix | Delete
# ifndef STDC
[201] Fix | Delete
# define STDC
[202] Fix | Delete
# endif
[203] Fix | Delete
# if __STDC_VERSION__ >= 199901L
[204] Fix | Delete
# ifndef STDC99
[205] Fix | Delete
# define STDC99
[206] Fix | Delete
# endif
[207] Fix | Delete
# endif
[208] Fix | Delete
#endif
[209] Fix | Delete
#if !defined(STDC) && (defined(__STDC__) || defined(__cplusplus))
[210] Fix | Delete
# define STDC
[211] Fix | Delete
#endif
[212] Fix | Delete
#if !defined(STDC) && (defined(__GNUC__) || defined(__BORLANDC__))
[213] Fix | Delete
# define STDC
[214] Fix | Delete
#endif
[215] Fix | Delete
#if !defined(STDC) && (defined(MSDOS) || defined(WINDOWS) || defined(WIN32))
[216] Fix | Delete
# define STDC
[217] Fix | Delete
#endif
[218] Fix | Delete
#if !defined(STDC) && (defined(OS2) || defined(__HOS_AIX__))
[219] Fix | Delete
# define STDC
[220] Fix | Delete
#endif
[221] Fix | Delete
[222] Fix | Delete
#if defined(__OS400__) && !defined(STDC) /* iSeries (formerly AS/400). */
[223] Fix | Delete
# define STDC
[224] Fix | Delete
#endif
[225] Fix | Delete
[226] Fix | Delete
#ifndef STDC
[227] Fix | Delete
# ifndef const /* cannot use !defined(STDC) && !defined(const) on Mac */
[228] Fix | Delete
# define const /* note: need a more gentle solution here */
[229] Fix | Delete
# endif
[230] Fix | Delete
#endif
[231] Fix | Delete
[232] Fix | Delete
#if defined(ZLIB_CONST) && !defined(z_const)
[233] Fix | Delete
# define z_const const
[234] Fix | Delete
#else
[235] Fix | Delete
# define z_const
[236] Fix | Delete
#endif
[237] Fix | Delete
[238] Fix | Delete
#ifdef Z_SOLO
[239] Fix | Delete
typedef unsigned long z_size_t;
[240] Fix | Delete
#else
[241] Fix | Delete
# define z_longlong long long
[242] Fix | Delete
# if defined(NO_SIZE_T)
[243] Fix | Delete
typedef unsigned NO_SIZE_T z_size_t;
[244] Fix | Delete
# elif defined(STDC)
[245] Fix | Delete
# include <stddef.h>
[246] Fix | Delete
typedef size_t z_size_t;
[247] Fix | Delete
# else
[248] Fix | Delete
typedef unsigned long z_size_t;
[249] Fix | Delete
# endif
[250] Fix | Delete
# undef z_longlong
[251] Fix | Delete
#endif
[252] Fix | Delete
[253] Fix | Delete
/* Maximum value for memLevel in deflateInit2 */
[254] Fix | Delete
#ifndef MAX_MEM_LEVEL
[255] Fix | Delete
# ifdef MAXSEG_64K
[256] Fix | Delete
# define MAX_MEM_LEVEL 8
[257] Fix | Delete
# else
[258] Fix | Delete
# define MAX_MEM_LEVEL 9
[259] Fix | Delete
# endif
[260] Fix | Delete
#endif
[261] Fix | Delete
[262] Fix | Delete
/* Maximum value for windowBits in deflateInit2 and inflateInit2.
[263] Fix | Delete
* WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
[264] Fix | Delete
* created by gzip. (Files created by minigzip can still be extracted by
[265] Fix | Delete
* gzip.)
[266] Fix | Delete
*/
[267] Fix | Delete
#ifndef MAX_WBITS
[268] Fix | Delete
# define MAX_WBITS 15 /* 32K LZ77 window */
[269] Fix | Delete
#endif
[270] Fix | Delete
[271] Fix | Delete
/* The memory requirements for deflate are (in bytes):
[272] Fix | Delete
(1 << (windowBits+2)) + (1 << (memLevel+9))
[273] Fix | Delete
that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values)
[274] Fix | Delete
plus a few kilobytes for small objects. For example, if you want to reduce
[275] Fix | Delete
the default memory requirements from 256K to 128K, compile with
[276] Fix | Delete
make CFLAGS="-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7"
[277] Fix | Delete
Of course this will generally degrade compression (there's no free lunch).
[278] Fix | Delete
[279] Fix | Delete
The memory requirements for inflate are (in bytes) 1 << windowBits
[280] Fix | Delete
that is, 32K for windowBits=15 (default value) plus about 7 kilobytes
[281] Fix | Delete
for small objects.
[282] Fix | Delete
*/
[283] Fix | Delete
[284] Fix | Delete
/* Type declarations */
[285] Fix | Delete
[286] Fix | Delete
#ifndef OF /* function prototypes */
[287] Fix | Delete
# ifdef STDC
[288] Fix | Delete
# define OF(args) args
[289] Fix | Delete
# else
[290] Fix | Delete
# define OF(args) ()
[291] Fix | Delete
# endif
[292] Fix | Delete
#endif
[293] Fix | Delete
[294] Fix | Delete
#ifndef Z_ARG /* function prototypes for stdarg */
[295] Fix | Delete
# if defined(STDC) || defined(Z_HAVE_STDARG_H)
[296] Fix | Delete
# define Z_ARG(args) args
[297] Fix | Delete
# else
[298] Fix | Delete
# define Z_ARG(args) ()
[299] Fix | Delete
# endif
[300] Fix | Delete
#endif
[301] Fix | Delete
[302] Fix | Delete
/* The following definitions for FAR are needed only for MSDOS mixed
[303] Fix | Delete
* model programming (small or medium model with some far allocations).
[304] Fix | Delete
* This was tested only with MSC; for other MSDOS compilers you may have
[305] Fix | Delete
* to define NO_MEMCPY in zutil.h. If you don't need the mixed model,
[306] Fix | Delete
* just define FAR to be empty.
[307] Fix | Delete
*/
[308] Fix | Delete
#ifdef SYS16BIT
[309] Fix | Delete
# if defined(M_I86SM) || defined(M_I86MM)
[310] Fix | Delete
/* MSC small or medium model */
[311] Fix | Delete
# define SMALL_MEDIUM
[312] Fix | Delete
# ifdef _MSC_VER
[313] Fix | Delete
# define FAR _far
[314] Fix | Delete
# else
[315] Fix | Delete
# define FAR far
[316] Fix | Delete
# endif
[317] Fix | Delete
# endif
[318] Fix | Delete
# if (defined(__SMALL__) || defined(__MEDIUM__))
[319] Fix | Delete
/* Turbo C small or medium model */
[320] Fix | Delete
# define SMALL_MEDIUM
[321] Fix | Delete
# ifdef __BORLANDC__
[322] Fix | Delete
# define FAR _far
[323] Fix | Delete
# else
[324] Fix | Delete
# define FAR far
[325] Fix | Delete
# endif
[326] Fix | Delete
# endif
[327] Fix | Delete
#endif
[328] Fix | Delete
[329] Fix | Delete
#if defined(WINDOWS) || defined(WIN32)
[330] Fix | Delete
/* If building or using zlib as a DLL, define ZLIB_DLL.
[331] Fix | Delete
* This is not mandatory, but it offers a little performance increase.
[332] Fix | Delete
*/
[333] Fix | Delete
# ifdef ZLIB_DLL
[334] Fix | Delete
# if defined(WIN32) && (!defined(__BORLANDC__) || (__BORLANDC__ >= 0x500))
[335] Fix | Delete
# ifdef ZLIB_INTERNAL
[336] Fix | Delete
# define ZEXTERN extern __declspec(dllexport)
[337] Fix | Delete
# else
[338] Fix | Delete
# define ZEXTERN extern __declspec(dllimport)
[339] Fix | Delete
# endif
[340] Fix | Delete
# endif
[341] Fix | Delete
# endif /* ZLIB_DLL */
[342] Fix | Delete
/* If building or using zlib with the WINAPI/WINAPIV calling convention,
[343] Fix | Delete
* define ZLIB_WINAPI.
[344] Fix | Delete
* Caution: the standard ZLIB1.DLL is NOT compiled using ZLIB_WINAPI.
[345] Fix | Delete
*/
[346] Fix | Delete
# ifdef ZLIB_WINAPI
[347] Fix | Delete
# ifdef FAR
[348] Fix | Delete
# undef FAR
[349] Fix | Delete
# endif
[350] Fix | Delete
# include <windows.h>
[351] Fix | Delete
/* No need for _export, use ZLIB.DEF instead. */
[352] Fix | Delete
/* For complete Windows compatibility, use WINAPI, not __stdcall. */
[353] Fix | Delete
# define ZEXPORT WINAPI
[354] Fix | Delete
# ifdef WIN32
[355] Fix | Delete
# define ZEXPORTVA WINAPIV
[356] Fix | Delete
# else
[357] Fix | Delete
# define ZEXPORTVA FAR CDECL
[358] Fix | Delete
# endif
[359] Fix | Delete
# endif
[360] Fix | Delete
#endif
[361] Fix | Delete
[362] Fix | Delete
#if defined (__BEOS__)
[363] Fix | Delete
# ifdef ZLIB_DLL
[364] Fix | Delete
# ifdef ZLIB_INTERNAL
[365] Fix | Delete
# define ZEXPORT __declspec(dllexport)
[366] Fix | Delete
# define ZEXPORTVA __declspec(dllexport)
[367] Fix | Delete
# else
[368] Fix | Delete
# define ZEXPORT __declspec(dllimport)
[369] Fix | Delete
# define ZEXPORTVA __declspec(dllimport)
[370] Fix | Delete
# endif
[371] Fix | Delete
# endif
[372] Fix | Delete
#endif
[373] Fix | Delete
[374] Fix | Delete
#ifndef ZEXTERN
[375] Fix | Delete
# define ZEXTERN extern
[376] Fix | Delete
#endif
[377] Fix | Delete
#ifndef ZEXPORT
[378] Fix | Delete
# define ZEXPORT
[379] Fix | Delete
#endif
[380] Fix | Delete
#ifndef ZEXPORTVA
[381] Fix | Delete
# define ZEXPORTVA
[382] Fix | Delete
#endif
[383] Fix | Delete
[384] Fix | Delete
#ifndef FAR
[385] Fix | Delete
# define FAR
[386] Fix | Delete
#endif
[387] Fix | Delete
[388] Fix | Delete
#if !defined(__MACTYPES__)
[389] Fix | Delete
typedef unsigned char Byte; /* 8 bits */
[390] Fix | Delete
#endif
[391] Fix | Delete
typedef unsigned int uInt; /* 16 bits or more */
[392] Fix | Delete
typedef unsigned long uLong; /* 32 bits or more */
[393] Fix | Delete
[394] Fix | Delete
#ifdef SMALL_MEDIUM
[395] Fix | Delete
/* Borland C/C++ and some old MSC versions ignore FAR inside typedef */
[396] Fix | Delete
# define Bytef Byte FAR
[397] Fix | Delete
#else
[398] Fix | Delete
typedef Byte FAR Bytef;
[399] Fix | Delete
#endif
[400] Fix | Delete
typedef char FAR charf;
[401] Fix | Delete
typedef int FAR intf;
[402] Fix | Delete
typedef uInt FAR uIntf;
[403] Fix | Delete
typedef uLong FAR uLongf;
[404] Fix | Delete
[405] Fix | Delete
#ifdef STDC
[406] Fix | Delete
typedef void const *voidpc;
[407] Fix | Delete
typedef void FAR *voidpf;
[408] Fix | Delete
typedef void *voidp;
[409] Fix | Delete
#else
[410] Fix | Delete
typedef Byte const *voidpc;
[411] Fix | Delete
typedef Byte FAR *voidpf;
[412] Fix | Delete
typedef Byte *voidp;
[413] Fix | Delete
#endif
[414] Fix | Delete
[415] Fix | Delete
#if !defined(Z_U4) && !defined(Z_SOLO) && defined(STDC)
[416] Fix | Delete
# include <limits.h>
[417] Fix | Delete
# if (UINT_MAX == 0xffffffffUL)
[418] Fix | Delete
# define Z_U4 unsigned
[419] Fix | Delete
# elif (ULONG_MAX == 0xffffffffUL)
[420] Fix | Delete
# define Z_U4 unsigned long
[421] Fix | Delete
# elif (USHRT_MAX == 0xffffffffUL)
[422] Fix | Delete
# define Z_U4 unsigned short
[423] Fix | Delete
# endif
[424] Fix | Delete
#endif
[425] Fix | Delete
[426] Fix | Delete
#ifdef Z_U4
[427] Fix | Delete
typedef Z_U4 z_crc_t;
[428] Fix | Delete
#else
[429] Fix | Delete
typedef unsigned long z_crc_t;
[430] Fix | Delete
#endif
[431] Fix | Delete
[432] Fix | Delete
#if 1 /* was set to #if 1 by ./configure */
[433] Fix | Delete
# define Z_HAVE_UNISTD_H
[434] Fix | Delete
#endif
[435] Fix | Delete
[436] Fix | Delete
#if 1 /* was set to #if 1 by ./configure */
[437] Fix | Delete
# define Z_HAVE_STDARG_H
[438] Fix | Delete
#endif
[439] Fix | Delete
[440] Fix | Delete
#ifdef STDC
[441] Fix | Delete
# ifndef Z_SOLO
[442] Fix | Delete
# include <sys/types.h> /* for off_t */
[443] Fix | Delete
# endif
[444] Fix | Delete
#endif
[445] Fix | Delete
[446] Fix | Delete
#if defined(STDC) || defined(Z_HAVE_STDARG_H)
[447] Fix | Delete
# ifndef Z_SOLO
[448] Fix | Delete
# include <stdarg.h> /* for va_list */
[449] Fix | Delete
# endif
[450] Fix | Delete
#endif
[451] Fix | Delete
[452] Fix | Delete
#ifdef _WIN32
[453] Fix | Delete
# ifndef Z_SOLO
[454] Fix | Delete
# include <stddef.h> /* for wchar_t */
[455] Fix | Delete
# endif
[456] Fix | Delete
#endif
[457] Fix | Delete
[458] Fix | Delete
/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
[459] Fix | Delete
* "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even
[460] Fix | Delete
* though the former does not conform to the LFS document), but considering
[461] Fix | Delete
* both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
[462] Fix | Delete
* equivalently requesting no 64-bit operations
[463] Fix | Delete
*/
[464] Fix | Delete
#if defined(_LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1
[465] Fix | Delete
# undef _LARGEFILE64_SOURCE
[466] Fix | Delete
#endif
[467] Fix | Delete
[468] Fix | Delete
#if defined(__WATCOMC__) && !defined(Z_HAVE_UNISTD_H)
[469] Fix | Delete
# define Z_HAVE_UNISTD_H
[470] Fix | Delete
#endif
[471] Fix | Delete
#ifndef Z_SOLO
[472] Fix | Delete
# if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
[473] Fix | Delete
# include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */
[474] Fix | Delete
# ifdef VMS
[475] Fix | Delete
# include <unixio.h> /* for off_t */
[476] Fix | Delete
# endif
[477] Fix | Delete
# ifndef z_off_t
[478] Fix | Delete
# define z_off_t off_t
[479] Fix | Delete
# endif
[480] Fix | Delete
# endif
[481] Fix | Delete
#endif
[482] Fix | Delete
[483] Fix | Delete
#if defined(_LFS64_LARGEFILE) && _LFS64_LARGEFILE-0
[484] Fix | Delete
# define Z_LFS64
[485] Fix | Delete
#endif
[486] Fix | Delete
[487] Fix | Delete
#if defined(_LARGEFILE64_SOURCE) && defined(Z_LFS64)
[488] Fix | Delete
# define Z_LARGE64
[489] Fix | Delete
#endif
[490] Fix | Delete
[491] Fix | Delete
#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS-0 == 64 && defined(Z_LFS64)
[492] Fix | Delete
# define Z_WANT64
[493] Fix | Delete
#endif
[494] Fix | Delete
[495] Fix | Delete
#if !defined(SEEK_SET) && !defined(Z_SOLO)
[496] Fix | Delete
# define SEEK_SET 0 /* Seek from beginning of file. */
[497] Fix | Delete
# define SEEK_CUR 1 /* Seek from current position. */
[498] Fix | Delete
# define SEEK_END 2 /* Set file pointer to EOF plus "offset" */
[499] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function