about summary refs log tree commit diff
path: root/converter/other/pnmtopng.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-09-26 16:44:20 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-09-26 16:44:20 +0000
commit1e50cc0a1c2b29f06f451b220556990a1e4fc89a (patch)
treed4deb32706c672fe951fcaacf0cda349c2907b2b /converter/other/pnmtopng.c
parentcd5163ed76bf0a04c2677149271095459bd1f4c8 (diff)
downloadnetpbm-mirror-1e50cc0a1c2b29f06f451b220556990a1e4fc89a.tar.gz
netpbm-mirror-1e50cc0a1c2b29f06f451b220556990a1e4fc89a.tar.xz
netpbm-mirror-1e50cc0a1c2b29f06f451b220556990a1e4fc89a.zip
Release 10.47.63
git-svn-id: http://svn.code.sf.net/p/netpbm/code/super_stable@2821 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pnmtopng.c')
-rw-r--r--converter/other/pnmtopng.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/converter/other/pnmtopng.c b/converter/other/pnmtopng.c
index 52f69423..7d30b23b 100644
--- a/converter/other/pnmtopng.c
+++ b/converter/other/pnmtopng.c
@@ -69,6 +69,12 @@
 #include "nstring.h"
 #include "version.h"
 
+#if PNG_LIBPNG_VER >= 10500
+#error Your PNG library (<png.h>) is incompatible with this Netpbm source code.
+#error You need either an older PNG library (older than 1.5) or
+#error newer Netpbm source code (at least 10.55)
+#endif
+
 /* A hack until we can remove direct access to png_info from the program */
 #if PNG_LIBPNG_VER >= 10400
 #define trans_values trans_color