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