changeset 31332:9a247156dd7e

Include <signal.h>. (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 02 Sep 2000 11:34:33 +0000
parents c0ff788ed359
children b6530464ef07
files src/s/netbsd.h
diffstat 1 files changed, 25 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/netbsd.h	Sat Sep 02 11:34:13 2000 +0000
+++ b/src/s/netbsd.h	Sat Sep 02 11:34:33 2000 +0000
@@ -89,3 +89,28 @@
 #define NARROWPROTO 1
 
 #define DEFAULT_SOUND_DEVICE "/dev/audio"
+
+/* Greg A. Woods <woods@weird.com> says we must include signal.h
+   before syssignal.h is included, to work around interface conflicts
+   that are handled with CPP __RENAME() macro in signal.h.  */
+
+#ifndef NO_C_SOURCE
+#include <signal.h>
+#endif
+
+/* Don't close pty in process.c to make it as controlling terminal.
+   It is already a controlling terminal of subprocess, because we did
+   ioctl TIOCSCTTY.  */
+
+#define DONT_REOPEN_PTY
+ 
+/* Tell that garbage collector that setjmp is known to save all
+   registers relevant for conservative garbage collection in the
+   jmp_buf.  */
+
+#define GC_SETJMP_WORKS 1
+ 
+/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method.  */
+
+#define GC_MARK_STACK	1
+