Bug 431950 - disable scary-but-harmless zlib trace warnings in debug builds. r=bholley
This commit is contained in:
Родитель
6f45ec6fe1
Коммит
f21f2f19d1
|
@ -39,3 +39,6 @@ Mozilla.org changes:
|
|||
|
||||
- 24 July 2005
|
||||
Updated zlib.def with new symbols in zlib version 1.2.3
|
||||
|
||||
- 13 September 2009
|
||||
Don't enable zlib's debug output when the Mozilla build is in debug mode (bug 431950)
|
||||
|
|
|
@ -238,6 +238,11 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
|
|||
extern void zmemzero OF((Bytef* dest, uInt len));
|
||||
#endif
|
||||
|
||||
/* Ignore the Mozilla build env's DEBUG unless ZLIB_DEBUG is also set */
|
||||
#ifndef ZLIB_DEBUG
|
||||
#undef DEBUG
|
||||
#endif
|
||||
|
||||
/* Diagnostic functions */
|
||||
#ifdef DEBUG
|
||||
# include <stdio.h>
|
||||
|
|
Загрузка…
Ссылка в новой задаче