From 493c3eed38f0f443f6d6ed8c0806c8ee0fbf7afd Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 22 Nov 1999 08:20:53 +0000 Subject: [PATCH] (ABORT_RETURN_TYPE, FREE_RETURN_TYPE): New macros. --- src/s/sunos4-0.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 @@ #define SYSTEM_MALLOC +/* SunOS 4.x cc declares abort and free to return int. */ + +#ifndef __STDC__ +#define ABORT_RETURN_TYPE int +#define FREE_RETURN_TYPE int +#endif + #ifdef __GNUC__ /* We must define mkdir with this arg prototype to match GCC's fixed stat.h. */ -- 2.39.5