Fix gzip on debug

This commit is contained in:
CrashOveride95
2021-06-22 23:03:18 -04:00
parent 81c18ab7fc
commit b8f00808cb
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ uLong ZEXPORT zlibCompileFlags()
case 8: flags += 2 << 6; break;
default: flags += 3 << 6;
}
#ifdef DEBUG
#ifdef PCDEBUG
flags += 1 << 8;
#endif
#if defined(ASMV) || defined(ASMINF)
@@ -103,7 +103,7 @@ uLong ZEXPORT zlibCompileFlags()
return flags;
}
#ifdef DEBUG
#ifdef PCDEBUG
# ifndef verbose
# define verbose 0

View File

@@ -227,7 +227,7 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
#endif
/* Diagnostic functions */
#ifdef DEBUG
#ifdef PCDEBUG
# include <stdio.h>
extern int z_verbose;
extern void z_error OF((char *m));