more bzip2 code reduction, disabled data reduction for now so we can hit targets

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1204 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
justin1014 2002-09-27 03:38:41 +00:00
parent 5b792cc6a0
commit 83655f8352
3 changed files with 11 additions and 5 deletions

View file

@ -13,7 +13,11 @@
#ifdef NSIS_COMPRESS_USE_BZIP2
#include "../bzip2/bzlib.h"
static int bz2_needreinit;
void NSISCALL genrtable();
// void NSISCALL genrtable(); // using this method reduces data by 336, but adds ~60 to code.
// currently it makes sense to spend the money on data and reduce code size, but that may change.
#define genrtable()
#define z_stream bz_stream
#define inflateInit(x) { if (BZ2_bzDecompressInit(x)<0) return _LANG_INVALIDCRC; }
#define inflate(x) BZ2_bzDecompress(x)