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://vcs.fsf.org/?a=commitdiff_plain;h=0d28287ca56d1545b8e2fdeab6616a674e633236;hp=5c75db2e32e06f3fc526b5d231af743453f0508a;p=exim.git 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 */