summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cvs/lib/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cvs/lib/regex.c')
-rw-r--r--gnu/usr.bin/cvs/lib/regex.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/cvs/lib/regex.c b/gnu/usr.bin/cvs/lib/regex.c
index 03fc721f38d..2f590d64b90 100644
--- a/gnu/usr.bin/cvs/lib/regex.c
+++ b/gnu/usr.bin/cvs/lib/regex.c
@@ -234,8 +234,13 @@ char *alloca ();
#define STREQ(s1, s2) ((strcmp (s1, s2) == 0))
+/* The Mac CodeWarrier9 compiler defines MAX and MIN. */
+#ifndef MAX
#define MAX(a, b) ((a) > (b) ? (a) : (b))
+#endif
+#ifndef MIN
#define MIN(a, b) ((a) < (b) ? (a) : (b))
+#endif
typedef char boolean;
#define false 0