summaryrefslogtreecommitdiff
path: root/graphics/netpbm/files/patch-converter::other::pnmtopng.c
blob: 9a5fbf3a703738ad62337150251116a1cc7dfd49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- converter/other/pnmtopng.c.orig	Sun Jun 23 12:51:37 2002
+++ converter/other/pnmtopng.c	Sat Jul  6 00:00:00 2002
@@ -1903,8 +1903,13 @@
     */
     fprintf(stderr, "   Compiled with libpng %s.\n",
             PNG_LIBPNG_VER_STRING);
+#ifdef zlib_version
     fprintf(stderr, "   Compiled with zlib %s; using zlib %s.\n",
             ZLIB_VERSION, zlib_version);
+#else
+    fprintf(stderr, "   Compiled with zlib %s.\n",
+            ZLIB_VERSION);
+#endif
     fprintf(stderr,    
             "   Compiled with %d-bit netpbm support "
             "(PPM_OVERALLMAXVAL = %d).\n",