changeset 26528:6b226f263365

(ABORT_RETURN_TYPE, FREE_RETURN_TYPE): New macros.
author Paul Eggert <eggert@twinsun.com>
date Mon, 22 Nov 1999 08:20:53 +0000
parents 789dee6f1a09
children e24d7fefd07e
files src/s/sunos4-0.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/sunos4-0.h	Mon Nov 22 08:20:40 1999 +0000
+++ b/src/s/sunos4-0.h	Mon Nov 22 08:20:53 1999 +0000
@@ -24,6 +24,13 @@
 
 #define SYSTEM_MALLOC
 
+/* SunOS 4.x cc <stdlib.h> 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.  */