diff options
author | scuri <scuri> | 2009-10-20 18:12:26 +0000 |
---|---|---|
committer | scuri <scuri> | 2009-10-20 18:12:26 +0000 |
commit | a972dbb9bd731a439d009bd51e36981c41a06232 (patch) | |
tree | e4e5d0aaf23706083dfb1fe4180e18f0907a90c9 /src/pdflib/flate/zutil.h | |
parent | 27a4f9c4ac45ff65f941964f7351b64b1e6a9f35 (diff) |
*** empty log message ***
Diffstat (limited to 'src/pdflib/flate/zutil.h')
-rw-r--r-- | src/pdflib/flate/zutil.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/pdflib/flate/zutil.h b/src/pdflib/flate/zutil.h index 0db04c2..ea0fd6c 100644 --- a/src/pdflib/flate/zutil.h +++ b/src/pdflib/flate/zutil.h @@ -9,8 +9,8 @@ */ -/* $Id: zutil.h,v 1.1 2008/10/17 06:10:42 scuri Exp $ */ -/* @(#) $Id: zutil.h,v 1.1 2008/10/17 06:10:42 scuri Exp $ */ +/* $Id: zutil.h,v 1.2 2009/10/20 18:12:26 scuri Exp $ */ +/* @(#) $Id: zutil.h,v 1.2 2009/10/20 18:12:26 scuri Exp $ */ #ifndef ZUTIL_H #define ZUTIL_H @@ -175,6 +175,16 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ # define F_OPEN(name, mode) fopen((name), (mode)) #endif +/* PDFlib GmbH: we need this before redefining vsnprintf (Visuals Studio 2008)*/ +/* Diagnostic functions */ +#ifdef DEBUG +# include <stdio.h> + extern int z_verbose; + extern void z_error OF((char *m)); +# define Assert(cond,msg) {if(!(cond)) z_error(msg);} +#else +# define Assert(cond,msg) +#endif /* functions */ #if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550) @@ -239,15 +249,6 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ extern void zmemzero OF((Bytef* dest, uInt len)); #endif -/* Diagnostic functions */ -#ifdef DEBUG -# include <stdio.h> - extern int z_verbose; - extern void z_error OF((char *m)); -# define Assert(cond,msg) {if(!(cond)) z_error(msg);} -#else -# define Assert(cond,msg) -#endif /* PDFlib GmbH: we don't like trace messages from here. */ #if 0 |