X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/468c0c7e3066886ff5028bb423b96712a155fe05..0311ab059b86ac0b86df9dc35fafb0b21c540a6b:/src/OS/os.h-SunOS5 diff --git a/src/OS/os.h-SunOS5 b/src/OS/os.h-SunOS5 index 45a1171c8..113adc05f 100644 --- a/src/OS/os.h-SunOS5 +++ b/src/OS/os.h-SunOS5 @@ -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 */