From 3ae121c94f0dfaeba5938de26931c49e29677d0a Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12-RIPE)" Date: Wed, 23 Mar 2016 22:53:27 +0100 Subject: Provide getcwd(NULL, 0) for Solaris (SunOS5) --- src/OS/os.h-SunOS5 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/OS/os.h-SunOS5') diff --git a/src/OS/os.h-SunOS5 b/src/OS/os.h-SunOS5 index 45a1171c8..807212b85 100644 --- a/src/OS/os.h-SunOS5 +++ b/src/OS/os.h-SunOS5 @@ -37,4 +37,10 @@ it seems. */ #endif +/* SunOS5 doesn't accept getcwd(NULL, 0) to auto-allocate +a buffer */ + +#define OS_GETCWD + + /* End */ -- cgit v1.2.3