*** empty log message ***
[bpt/emacs.git] / src / s / bsd4-3.h
CommitLineData
20c428fd
JB
1/* Definitions file for GNU Emacs running on bsd 4.3
2 Copyright (C) 1985, 1986 Free Software Foundation, Inc.
3
4This file is part of GNU Emacs.
5
6GNU Emacs is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 1, or (at your option)
9any later version.
10
11GNU Emacs is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU Emacs; see the file COPYING. If not, write to
18the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19
20
21/*
22 * Define symbols to identify the version of Unix this is.
23 * Define all the symbols that apply correctly.
24 */
25
26#ifndef BSD4_3
27#define BSD 43 /* 4.3 * 10, as cpp doesn't do floats */
28#endif /* BSD4_3 */
29
30#ifndef BSD
31#define BSD4_3 1
32#endif /* BSD */
33
34/* SYSTEM_TYPE should indicate the kind of system you are using.
35 It sets the Lisp variable system-type. */
36
37#define SYSTEM_TYPE "berkeley-unix"
38
39/* nomultiplejobs should be defined if your system's shell
40 does not have "job control" (the ability to stop a program,
41 run some other program, then continue the first one). */
42
43/* #define NOMULTIPLEJOBS */
44
45/* Do not use interrupt_input = 1 by default, because in 4.3
46 we can make noninterrupt input work properly. */
47
48#undef INTERRUPT_INPUT
49
50/* First pty name is /dev/ptyp0. */
51
52#define FIRST_PTY_LETTER 'p'
53
54/*
55 * Define HAVE_TIMEVAL if the system supports the BSD style clock values.
56 * Look in <sys/time.h> for a timeval structure.
57 */
58
59#define HAVE_TIMEVAL
60
61/*
62 * Define HAVE_SELECT if the system supports the `select' system call.
63 */
64
65#define HAVE_SELECT
66
67/*
68 * Define HAVE_PTYS if the system supports pty devices.
69 */
70
71#define HAVE_PTYS
72
73/* Define this macro if system defines a type `union wait'. */
74
75#define HAVE_UNION_WAIT
76
77/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
78
79#define HAVE_SOCKETS
80
81/*
82 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
83 * The 4.2 opendir, etc., library functions.
84 */
85
86/* #define NONSYSTEM_DIR_LIBRARY */
87
88/* Define this symbol if your system has the functions bcopy, etc. */
89
90#define BSTRING
91
92/* subprocesses should be defined if you want to
93 have code for asynchronous subprocesses
94 (as used in M-x compile and M-x shell).
95 This is generally OS dependent, and not supported
96 under most USG systems. */
97
98#define subprocesses
99
100/* If your system uses COFF (Common Object File Format) then define the
101 preprocessor symbol "COFF". */
102
103/* #define COFF */
104
105/* define MAIL_USE_FLOCK if the mailer uses flock
106 to interlock access to /usr/spool/mail/$USER.
107 The alternative is that a lock file named
108 /usr/spool/mail/$USER.lock. */
109
110#define MAIL_USE_FLOCK
111
112/* Define CLASH_DETECTION if you want lock files to be written
113 so that Emacs can tell instantly when you try to modify
114 a file that someone else has modified in his Emacs. */
115
116#define CLASH_DETECTION
117
118/* We use the Berkeley (and usg5.2.2) interface to nlist. */
119
120#define NLIST_STRUCT
121
122/* The file containing the kernel's symbol table is called /vmunix. */
123
124#define KERNEL_FILE "/vmunix"
125
126/* The symbol in the kernel where the load average is found
127 is named _avenrun. */
128
129#define LDAV_SYMBOL "_avenrun"
14e76af9
JB
130
131/* The return type of a signal handling function. */
132#define SIGTYPE int