}
-#ifdef DEBUG
+#ifdef DEBUG_ZLIB
extern uInt inflate_hufts;
#endif
int inflate_blocks(s, z, r)
bl = 9; /* must be <= 9 for lookahead assumptions */
bd = 6; /* must be <= 9 for lookahead assumptions */
t = s->sub.trees.table;
-#ifdef DEBUG
+#ifdef DEBUG_ZLIB
inflate_hufts = 0;
#endif
t = inflate_trees_dynamic(257 + (t & 0x1f), 1 + ((t >> 5) & 0x1f),
#define BMAX 15 /* maximum bit length of any code */
#define N_MAX 288 /* maximum number of codes in any set */
-#ifdef DEBUG
+#ifdef DEBUG_ZLIB
uInt inflate_hufts;
#endif
inflate_trees_free(u[0], zs);
return Z_MEM_ERROR; /* not enough memory */
}
-#ifdef DEBUG
+#ifdef DEBUG_ZLIB
inflate_hufts += z + 1;
#endif
*t = q + 1; /* link to list for huft_free() */
} more;
};
-#ifdef DEBUG
+#ifdef DEBUG_ZLIB
extern uInt inflate_hufts;
#endif
subject to change. Applications should only use zlib.h.
*/
-/* $Id: zutil.h,v 1.1 1997/02/06 02:56:56 downsj Exp $ */
+/* $Id: zutil.h,v 1.2 1997/02/07 13:26:33 mickey Exp $ */
#ifndef _Z_UTIL_H
#define _Z_UTIL_H
#endif
/* Diagnostic functions */
-#ifdef DEBUG
+#ifdef DEBUG_ZLIB
# include <stdio.h>
# ifndef verbose
# define verbose 0