summaryrefslogtreecommitdiff
path: root/src/OS
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-03-23 22:53:27 +0100
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-03-24 19:37:19 +0100
commit3ae121c94f0dfaeba5938de26931c49e29677d0a (patch)
treeccf36265d092b587b7e20a631db4a09b37143774 /src/OS
parent374dc1947cd80ee0532fabcbecc8c906a2d56ab9 (diff)
Provide getcwd(NULL, 0) for Solaris (SunOS5)
Diffstat (limited to 'src/OS')
-rw-r--r--src/OS/os.h-SunOS56
1 files changed, 6 insertions, 0 deletions
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 */