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