Convert consecutive FSF copyright years to ranges.
[bpt/emacs.git] / src / s / bsd-common.h
CommitLineData
20c428fd 1/* Definitions file for GNU Emacs running on bsd 4.3
e9bffc61 2
73b0cd50 3Copyright (C) 1985-1986, 2001-2011 Free Software Foundation, Inc.
20c428fd
JB
4
5This file is part of GNU Emacs.
6
4b158629 7GNU Emacs is free software: you can redistribute it and/or modify
20c428fd 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.
20c428fd
JB
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/>. */
20c428fd
JB
19
20
e05aebe9
GM
21/* Define symbols to identify the version of Unix this is.
22 Define all the symbols that apply correctly. */
20c428fd 23
ec558adc
JB
24/* We give these symbols the numeric values found in <sys/param.h> to
25 avoid warnings about redefined macros. */
20c428fd 26#ifndef BSD4_3
ec558adc 27#define BSD4_3 1
20c428fd
JB
28#endif /* BSD4_3 */
29
6df54671
KH
30#ifndef BSD_SYSTEM
31#define BSD_SYSTEM 43
32#endif /* BSD_SYSTEM */
20c428fd 33
05a670e6
DN
34/* For mem-limits.h. */
35#define BSD4_2
36
37#define TABDLY OXTABS
38#define TAB3 OXTABS
39
40/* These aren't needed, since we have getloadavg. */
41#undef KERNEL_FILE
42#undef LDAV_SYMBOL
43
05a670e6
DN
44#define NO_TERMIO
45
05a670e6
DN
46/* If the system's imake configuration file defines `NeedWidePrototypes'
47 as `NO', we must define NARROWPROTO manually. Such a define is
48 generated in the Makefile generated by `xmkmf'. If we don't
49 define NARROWPROTO, we will see the wrong function prototypes
50 for X functions taking float or double parameters. */
05a670e6
DN
51#define NARROWPROTO 1
52
20c428fd
JB
53/* SYSTEM_TYPE should indicate the kind of system you are using.
54 It sets the Lisp variable system-type. */
20c428fd
JB
55#define SYSTEM_TYPE "berkeley-unix"
56
20c428fd
JB
57/* Do not use interrupt_input = 1 by default, because in 4.3
58 we can make noninterrupt input work properly. */
20c428fd
JB
59#undef INTERRUPT_INPUT
60
61/* First pty name is /dev/ptyp0. */
20c428fd
JB
62#define FIRST_PTY_LETTER 'p'
63
7490175b 64/* Define HAVE_PTYS if the system supports pty devices. */
20c428fd
JB
65#define HAVE_PTYS
66
20c428fd 67/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
20c428fd
JB
68#define HAVE_SOCKETS
69
20c428fd
JB
70/* Define CLASH_DETECTION if you want lock files to be written
71 so that Emacs can tell instantly when you try to modify
72 a file that someone else has modified in his Emacs. */
20c428fd
JB
73#define CLASH_DETECTION
74
20c428fd 75/* The file containing the kernel's symbol table is called /vmunix. */
20c428fd
JB
76#define KERNEL_FILE "/vmunix"
77
e05aebe9 78/* The kernel symbol where the load average is found is named _avenrun. */
20c428fd 79#define LDAV_SYMBOL "_avenrun"
4968c102
JB
80
81/* Send signals to subprocesses by "typing" special chars at them. */
4968c102 82#define SIGNALS_VIA_CHARACTERS
651c847c 83