# HG changeset patch # User Gerd Moellmann # Date 967894473 0 # Node ID 9a247156dd7ee637cb7b876a92349884c40f067e # Parent c0ff788ed359766f00a262ce0a3e8095f1fcc34a Include . (GC_SETJMP_WORKS, GC_MARK_STACK): Define. diff -r c0ff788ed359 -r 9a247156dd7e src/s/netbsd.h --- 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 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 +#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 +