summaryrefslogtreecommitdiff
path: root/src/s/netbsd.h
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-09-02 11:34:56 +0000
committerGerd Moellmann <gerd@gnu.org>2000-09-02 11:34:56 +0000
commitd276b0cfc144196ab18abd5483c2021102052203 (patch)
treeaeddc96b7b556d4022c0b42efee75fd54f940532 /src/s/netbsd.h
parentf4db570c1ca5a26a0bf30b8d7a16678d35322968 (diff)
downloademacs-d276b0cfc144196ab18abd5483c2021102052203.tar.gz
Include <signal.h>.
(GC_SETJMP_WORKS, GC_MARK_STACK): Define.
Diffstat (limited to 'src/s/netbsd.h')
-rw-r--r--src/s/netbsd.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/s/netbsd.h b/src/s/netbsd.h
index 79d738991fc..1a134f37443 100644
--- a/src/s/netbsd.h
+++ b/src/s/netbsd.h
@@ -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
+