aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorPaul Eggert1999-11-22 08:20:53 +0000
committerPaul Eggert1999-11-22 08:20:53 +0000
commit493c3eed38f0f443f6d6ed8c0806c8ee0fbf7afd (patch)
tree4a044a55931673967ef8abc084c078b417ebba61 /src/s
parent08e3087b6239fbb10aae860672e6fd8b41a08ee9 (diff)
downloademacs-493c3eed38f0f443f6d6ed8c0806c8ee0fbf7afd.tar.gz
emacs-493c3eed38f0f443f6d6ed8c0806c8ee0fbf7afd.zip
(ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
New macros.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/sunos4-0.h7
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. */