summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cvs/lib/regex.c
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1996-10-18 03:34:32 +0000
committertholo <tholo@openbsd.org>1996-10-18 03:34:32 +0000
commit50bf276cd1c7e20f1eda64a5e63e0fae39e12a95 (patch)
treeb3261b3bb6bd3ee497b476dbac783f5ffa519157 /gnu/usr.bin/cvs/lib/regex.c
parentDo not run IP defragmentation routines unneccecarily; NetBSD PR# 2772 (diff)
downloadwireguard-openbsd-50bf276cd1c7e20f1eda64a5e63e0fae39e12a95.tar.xz
wireguard-openbsd-50bf276cd1c7e20f1eda64a5e63e0fae39e12a95.zip
New release from Cyclic Software
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