summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@acm.org>2013-05-08 14:35:21 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-05-08 14:35:21 -0500
commit122bec17f21fa84cdaccb30b4eed754f05afa349 (patch)
treed33f672907ffaad0dd31b814ad04882e7bbba324 /contrib
parent9afb90f88504a158222df08cb515136bfc0b0a79 (diff)
downloadlibpng-122bec17f21fa84cdaccb30b4eed754f05afa349.tar.gz
[libpng16]Check ZLIB_VERNUM for mismatches, enclose #error in quotes
Diffstat (limited to 'contrib')
-rw-r--r--contrib/tools/pngdeflate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tools/pngdeflate.c b/contrib/tools/pngdeflate.c
index ff9fdb430..c30a7ee9f 100644
--- a/contrib/tools/pngdeflate.c
+++ b/contrib/tools/pngdeflate.c
@@ -26,14 +26,14 @@
#endif
#if PNG_LIBPNG_VER < 10603 /* 1.6.3 */
-# error pngdeflate will not work with libpng versions prior to 1.6.3
+# error "pngdeflate will not work with libpng versions prior to 1.6.3"
#endif
#ifdef PNG_READ_SUPPORTED
#include <zlib.h>
#ifndef PNG_MAXIMUM_INFLATE_WINDOW
-# error pngdeflate not supported in this libpng version
+# error "pngdeflate not supported in this libpng version"
#endif
#if PNG_ZLIB_VERNUM >= 0x1240