]> code.delx.au - gnu-emacs/blobdiff - src/s/sunos4-0.h
(text_read_only): Use xsignal0, xsignal1.
[gnu-emacs] / src / s / sunos4-0.h
index e648aedab0fc2453d5ac71bc3c10167a6277c87e..d108df686404ab6db03db7d9e6cd065ed3e47150 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.  */
 #define MKDIR_PROTOTYPE \
   int mkdir (const char *dpath, unsigned short dmode)
 #endif /* __GNUC__ */
+
+/* Must use the system's termcap, if we use any termcap.
+   It does special things.  */
+
+#ifndef TERMINFO
+#define LIBS_TERMCAP -ltermcap
+#endif
+
+#define GC_SETJMP_WORKS 1
+#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
+
+/* arch-tag: 362f3bfc-810d-4f6e-9b83-5a32f8f1a926
+   (do not change this comment) */