1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
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

16 lines
398 B
Plaintext

--- 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