From: Jeremy Harris Date: Tue, 24 Jan 2017 15:03:03 +0000 (+0000) Subject: Define MIN and MAX for Solaris X-Git-Tag: exim-4_89_RC1~25 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/0d28287ca56d1545b8e2fdeab6616a674e633236 Define MIN and MAX for Solaris --- 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 */