zlib patch for DEBUG pre-processor

Patch as described on zlib:
https://github.com/madler/zlib/pull/80
This commit is contained in:
Daniel Rosser
2014-10-06 14:37:39 +11:00
parent fb2eba8eac
commit 7d413184e6
11 changed files with 41 additions and 41 deletions

View File

@@ -93,7 +93,7 @@ local uInt longest_match OF((deflate_state *s, IPos cur_match));
#endif
local uInt longest_match_fast OF((deflate_state *s, IPos cur_match));
#ifdef DEBUG
#ifdef ZLIB_DEBUG
local void check_match OF((deflate_state *s, IPos start, IPos match,
int length));
#endif
@@ -1225,7 +1225,7 @@ local uInt longest_match_fast(s, cur_match)
return (uInt)len <= s->lookahead ? (uInt)len : s->lookahead;
}
#ifdef DEBUG
#ifdef ZLIB_DEBUG
/* ===========================================================================
* Check that the match at match_start is indeed a match.
*/