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