From 1e50cc0a1c2b29f06f451b220556990a1e4fc89a Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 26 Sep 2016 16:44:20 +0000 Subject: Release 10.47.63 git-svn-id: http://svn.code.sf.net/p/netpbm/code/super_stable@2821 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/other/pnmtopng.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'converter/other/pnmtopng.c') 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 () 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 -- cgit 1.4.1