From 51a223def4382fdd0c9531ba77bd10724eae9f5f Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Tue, 28 Jul 2015 22:44:31 -0700 Subject: Avoid use of DEBUG macro -- change to ZLIB_DEBUG. --- deflate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'deflate.c') diff --git a/deflate.c b/deflate.c index aeabbae..7a9e05e 100644 --- a/deflate.c +++ b/deflate.c @@ -92,7 +92,7 @@ local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size)); local uInt longest_match OF((deflate_state *s, IPos cur_match)); #endif -#ifdef DEBUG +#ifdef ZLIB_DEBUG local void check_match OF((deflate_state *s, IPos start, IPos match, int length)); #endif @@ -1349,7 +1349,7 @@ local uInt longest_match(s, cur_match) #endif /* FASTEST */ -#ifdef DEBUG +#ifdef ZLIB_DEBUG /* =========================================================================== * Check that the match at match_start is indeed a match. */ @@ -1375,7 +1375,7 @@ local void check_match(s, start, match, length) } #else # define check_match(s, start, match, length) -#endif /* DEBUG */ +#endif /* ZLIB_DEBUG */ /* =========================================================================== * Fill the window when the lookahead becomes insufficient. -- cgit v1.2.3-55-g6feb