diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/sunos4-0.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/s/sunos4-0.h b/src/s/sunos4-0.h index e648aedab0f..78531499a27 100644 --- a/src/s/sunos4-0.h +++ b/src/s/sunos4-0.h | |||
| @@ -24,6 +24,13 @@ | |||
| 24 | 24 | ||
| 25 | #define SYSTEM_MALLOC | 25 | #define SYSTEM_MALLOC |
| 26 | 26 | ||
| 27 | /* SunOS 4.x cc <stdlib.h> declares abort and free to return int. */ | ||
| 28 | |||
| 29 | #ifndef __STDC__ | ||
| 30 | #define ABORT_RETURN_TYPE int | ||
| 31 | #define FREE_RETURN_TYPE int | ||
| 32 | #endif | ||
| 33 | |||
| 27 | #ifdef __GNUC__ | 34 | #ifdef __GNUC__ |
| 28 | /* We must define mkdir with this arg prototype | 35 | /* We must define mkdir with this arg prototype |
| 29 | to match GCC's fixed stat.h. */ | 36 | to match GCC's fixed stat.h. */ |