From 0d28287ca56d1545b8e2fdeab6616a674e633236 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 24 Jan 2017 15:03:03 +0000 Subject: [PATCH] Define MIN and MAX for Solaris --- src/OS/os.h-SunOS5 | 5 +++++ 1 file changed, 5 insertions(+) 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 */ -- 2.25.1