summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-01-24 15:03:03 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2017-01-24 15:03:03 +0000
commit0d28287ca56d1545b8e2fdeab6616a674e633236 (patch)
treeeee392208a183b0f08564f86c2bcaa960484ce84
parent5c75db2e32e06f3fc526b5d231af743453f0508a (diff)
downloadexim4-0d28287ca56d1545b8e2fdeab6616a674e633236.tar.gz
Define MIN and MAX for Solaris
-rw-r--r--src/OS/os.h-SunOS55
1 files changed, 5 insertions, 0 deletions
diff --git a/src/OS/os.h-SunOS5 b/src/OS/os.h-SunOS5
index 807212b85..dfbd8f1af 100644
--- a/src/OS/os.h-SunOS5
+++ b/src/OS/os.h-SunOS5
@@ -43,4 +43,9 @@ a buffer */
#define OS_GETCWD
+#ifndef MIN
+# define MIN(a,b) (((a)<(b))?(a):(b))
+# define MAX(a,b) (((a)>(b))?(a):(b))
+#endif
+
/* End */