From a972dbb9bd731a439d009bd51e36981c41a06232 Mon Sep 17 00:00:00 2001 From: scuri Date: Tue, 20 Oct 2009 18:12:26 +0000 Subject: *** empty log message *** --- src/pdflib/flate/zutil.h | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'src/pdflib/flate/zutil.h') 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 + 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 - 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 -- cgit v1.2.3