]> code.delx.au - gnu-emacs/blobdiff - src/s/sunos4-0.h
(ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
[gnu-emacs] / src / s / sunos4-0.h
index e648aedab0fc2453d5ac71bc3c10167a6277c87e..78531499a274b56eb9a1ce58e88535f95b2c68e1 100644 (file)
 
 #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.  */