Avoid use of DEBUG macro -- change to ZLIB_DEBUG.

This commit is contained in:
Mark Adler
2015-07-28 22:44:31 -07:00
parent 0b22337126
commit 51a223def4
14 changed files with 33 additions and 33 deletions

View File

@@ -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.