summaryrefslogtreecommitdiff
path: root/freetype
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2018-03-06 12:36:11 +0000
committerChris Liddell <chris.liddell@artifex.com>2018-03-06 12:42:14 +0000
commit08482c582115a1396d0fd9186011008f889a61c5 (patch)
tree5d45bc59b0e89e37035575b127403dfd11b14dca /freetype
parent3da667d889e54fb1a323769fbb4f93b971d0fff4 (diff)
downloadghostpdl-08482c582115a1396d0fd9186011008f889a61c5.tar.gz
Work around a change in the zlib API for 1.2.11
where it's used in the Freetype/zlib interface debugging code.
Diffstat (limited to 'freetype')
-rw-r--r--freetype/src/gzip/zutil.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/freetype/src/gzip/zutil.h b/freetype/src/gzip/zutil.h
index c9688cd9c..40808a3c9 100644
--- a/freetype/src/gzip/zutil.h
+++ b/freetype/src/gzip/zutil.h
@@ -183,15 +183,12 @@ typedef unsigned long ulg;
/* 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);}
-# define Trace(x) {if (z_verbose>=0) fprintf x ;}
-# define Tracev(x) {if (z_verbose>0) fprintf x ;}
-# define Tracevv(x) {if (z_verbose>1) fprintf x ;}
-# define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;}
-# define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;}
+# define Assert(cond,msg)
+# define Trace(x)
+# define Tracev(x)
+# define Tracevv(x)
+# define Tracec(c,x)
+# define Tracecv(c,x)
#else
# define Assert(cond,msg)
# define Trace(x)