blob: 20fd64f60c8268cfad5b830761290c09386e96ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- 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
|