freebsd-ports/graphics/netpbm/files/patch-ay
Kevin Lo 9730a5644f Upgrade to 9.9
PR: 23386
Submitted by: Ports Fury
2000-12-09 06:39:51 +00:00

15 lines
398 B
Text

--- pnm/pnmtotiffcmyk.c.orig Sat May 13 09:29:45 2000
+++ pnm/pnmtotiffcmyk.c Fri Dec 8 00:00:00 2000
@@ -71,8 +71,12 @@
#define VERSION 1.01
/* beware - these evaluate more than once */
+#ifndef MAX
#define MAX(x, y) ( ( x ) > ( y ) ? ( x ) : ( y ) )
+#endif
+#ifndef MIN
#define MIN(x, y) ( ( x ) < ( y ) ? ( x ) : ( y ) )
+#endif
/* only support 8 bit values */
#define MAXTIFFBITS 8