Provide getcwd(NULL, 0) for Solaris (SunOS5)
[exim.git] / src / OS / os.h-SunOS5
index bb1d77fe9cff2c3025c5718e08d33b4722d35886..807212b8564f22edaa5a86e08403d3dc18480f67 100644 (file)
@@ -34,7 +34,13 @@ it seems. */
 
 #if _POSIX_C_SOURCE < 200112L
 # define MISSING_UNSETENV_3
-#endof
+#endif
+
+
+/* SunOS5 doesn't accept getcwd(NULL, 0) to auto-allocate
+a buffer */
+
+#define OS_GETCWD
 
 
 /* End */