diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2016-03-23 22:53:27 +0100 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2016-03-24 19:37:19 +0100 |
commit | 3ae121c94f0dfaeba5938de26931c49e29677d0a (patch) | |
tree | ccf36265d092b587b7e20a631db4a09b37143774 /src/OS/os.h-SunOS5 | |
parent | 374dc1947cd80ee0532fabcbecc8c906a2d56ab9 (diff) |
Provide getcwd(NULL, 0) for Solaris (SunOS5)
Diffstat (limited to 'src/OS/os.h-SunOS5')
-rw-r--r-- | src/OS/os.h-SunOS5 | 6 |
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 */ |