aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inftrees.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/inftrees.h b/inftrees.h
index 84d05369..20eb2c03 100644
--- a/inftrees.h
+++ b/inftrees.h
@@ -46,8 +46,14 @@ typedef struct {
46 inflate_table() calls in inflate.c and infback.c. If the root table size is 46 inflate_table() calls in inflate.c and infback.c. If the root table size is
47 changed, then these maximum sizes would be need to be recalculated and 47 changed, then these maximum sizes would be need to be recalculated and
48 updated. */ 48 updated. */
49#define ENOUGH_LENS 852 49#ifndef PKZIP_BUG_WORKAROUND
50#define ENOUGH_DISTS 592 50# define ENOUGH_LENS 852
51# define ENOUGH_DISTS 592
52#else
53/* That workaround permits 288 literal/length codes and 32 distance codes. */
54# define ENOUGH_LENS 854
55# define ENOUGH_DISTS 594
56#endif
51#define ENOUGH (ENOUGH_LENS+ENOUGH_DISTS) 57#define ENOUGH (ENOUGH_LENS+ENOUGH_DISTS)
52 58
53/* Type of code to build for inflate_table() */ 59/* Type of code to build for inflate_table() */