even smaller bzip2 code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1244 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
83bfc82bed
commit
ed3a8ba913
4 changed files with 28 additions and 35 deletions
|
@ -13,7 +13,7 @@
|
|||
#include "../bzip2/bzlib.h"
|
||||
static char bz2_needreinit;
|
||||
|
||||
#define z_stream bz_stream
|
||||
#define z_stream DState
|
||||
#define inflateInit(x) { if (BZ2_bzDecompressInit(x)<0) return _LANG_INVALIDCRC; }
|
||||
#define inflate(x) BZ2_bzDecompress(x)
|
||||
#define inflateReset(x) { if (bz2_needreinit) { inflateInit(x); } else bz2_needreinit++; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue