Solaris 10 compatability, try two
[exim.git] / src / OS / os.h-SunOS5
index 45a1171c8c1f632975daff4ebb3a7a99eb1017f2..113adc05f57504b17eb3c114a8b7f40b1c976c4e 100644 (file)
@@ -37,4 +37,17 @@ it seems. */
 #endif
 
 
+/* SunOS5 doesn't accept getcwd(NULL, 0) to auto-allocate
+a buffer */
+
+#define OS_GETCWD
+
+
+#ifndef MIN
+# define MIN(a,b) (((a)<(b))?(a):(b))
+# define MAX(a,b) (((a)>(b))?(a):(b))
+#endif
+
+extern char * strndup(const char *, unsigned long);
+
 /* End */