NSIS/Source/zlib/INFLATE.C
2002-10-01 06:36:17 +00:00

27 lines
580 B
C

#include "../exehead/config.h"
#ifdef NSIS_COMPRESS_USE_ZLIB
/* inflate.c -- zlib interface to inflate modules
* Copyright (C) 1995-1998 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
* this has been HEAVILY modified for NSIS use, and is no longer compatible
* with the stock zlib.
*/
#include "zutil.h"
#include "infblock.h"
#include "inftrees.h"
#include "infcodes.h"
#include "infutil.h"
void inflateInit(z_streamp z)
{
z->blocks.end = z->blocks.window + (1 << DEF_WBITS);
z->blocks.mode = TYPE;
inflateReset(z);
}
#endif