Convert consecutive FSF copyright years to ranges.
[bpt/emacs.git] / src / s / netbsd.h
CommitLineData
6e0394c0
GM
1/* s/ file for netbsd system.
2
73b0cd50 3Copyright (C) 2001-2011 Free Software Foundation, Inc.
6e0394c0
GM
4
5This file is part of GNU Emacs.
6
4b158629 7GNU Emacs is free software: you can redistribute it and/or modify
6e0394c0 8it under the terms of the GNU General Public License as published by
4b158629
GM
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
6e0394c0
GM
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
4b158629 18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
6e0394c0 19
60fa73fd 20
e05aebe9 21/* Get most of the stuff from bsd-common. */
f2a77c3a 22#include "bsd-common.h"
60fa73fd 23
8fffa182 24#define HAVE_GETLOADAVG 1
60fa73fd 25
60fa73fd
RM
26#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
27
80fcd514 28#define DEFAULT_SOUND_DEVICE "/dev/audio"
d276b0cf
GM
29
30/* Greg A. Woods <woods@weird.com> says we must include signal.h
31 before syssignal.h is included, to work around interface conflicts
32 that are handled with CPP __RENAME() macro in signal.h. */
d276b0cf 33#include <signal.h>
d276b0cf
GM
34
35/* Don't close pty in process.c to make it as controlling terminal.
36 It is already a controlling terminal of subprocess, because we did
37 ioctl TIOCSCTTY. */
d276b0cf 38#define DONT_REOPEN_PTY
177c0ea7 39
d276b0cf 40/* Tell that garbage collector that setjmp is known to save all
e05aebe9 41 registers relevant for conservative garbage collection in the jmp_buf. */
d276b0cf 42#define GC_SETJMP_WORKS 1
177c0ea7 43
d276b0cf 44/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method. */
fc40e215 45#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
d276b0cf 46