mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 04:17:55 +01:00
zlib patch for DEBUG pre-processor
Patch as described on zlib: https://github.com/madler/zlib/pull/80
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user