Define MIN and MAX for Solaris
authorJeremy Harris <jgh146exb@wizmail.org>
Tue, 24 Jan 2017 15:03:03 +0000 (15:03 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Tue, 24 Jan 2017 15:03:03 +0000 (15:03 +0000)
src/OS/os.h-SunOS5

index 807212b8564f22edaa5a86e08403d3dc18480f67..dfbd8f1afb8b0bb0eec367a9b12cba21a03cb9b5 100644 (file)
@@ -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 */