diff options
author | Denys Vlasenko | 2011-09-10 13:25:57 +0200 |
---|---|---|
committer | Denys Vlasenko | 2011-09-10 13:25:57 +0200 |
commit | 522041ee7b10ac544b90c6a8d1d4fbf8a5d39c6d (patch) | |
tree | 412854af83f841f564faf842ca6cefc12a016236 /archival/gzip.c | |
parent | 202a1b9284fd763e81340050d228103aef999675 (diff) | |
download | busybox-522041ee7b10ac544b90c6a8d1d4fbf8a5d39c6d.zip busybox-522041ee7b10ac544b90c6a8d1d4fbf8a5d39c6d.tar.gz |
regularize options which control size/speed trade
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/gzip.c')
-rw-r--r-- | archival/gzip.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index 0e0b681..3af930b 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -81,10 +81,14 @@ aa: 85.1% -- replaced with aa.gz /* =========================================================================== */ -#if ENABLE_GZIP_BIG_MEM +#if CONFIG_GZIP_FAST == 0 +# define SMALL_MEM +#elif CONFIG_GZIP_FAST == 1 +# define MEDIUM_MEM +#elif CONFIG_GZIP_FAST == 2 # define BIG_MEM #else -# define SMALL_MEM +# error "Invalid CONFIG_GZIP_FAST value" #endif #ifndef INBUFSIZ |