bzip2 mode reduced down to 36.5kb. yay.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1205 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
justin1014 2002-09-27 04:05:26 +00:00
parent 83655f8352
commit 4dc468b307
4 changed files with 17 additions and 24 deletions

View file

@ -13,10 +13,7 @@
#ifdef NSIS_COMPRESS_USE_BZIP2
#include "../bzip2/bzlib.h"
static int bz2_needreinit;
// 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()
void NSISCALL genrtable();
#define z_stream bz_stream
#define inflateInit(x) { if (BZ2_bzDecompressInit(x)<0) return _LANG_INVALIDCRC; }