annotate src/s/bsd386.h @ 8777:aa4159cad5ed

(__bsdi__): Define, unless already defined. (DECLARE_GETPWUID_WITH_UID_T): Define.
author Richard M. Stallman <rms@gnu.org>
date Fri, 16 Sep 1994 07:51:40 +0000
parents 94a6c666e4ef
children 5aa06240226f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3360
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 /* s/ file for bsd386 system. */
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 #include "bsd4-3.h"
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
8777
aa4159cad5ed (__bsdi__): Define, unless already defined.
Richard M. Stallman <rms@gnu.org>
parents: 7805
diff changeset
5 #ifndef __bsdi__
aa4159cad5ed (__bsdi__): Define, unless already defined.
Richard M. Stallman <rms@gnu.org>
parents: 7805
diff changeset
6 #define __bsdi__ 1
aa4159cad5ed (__bsdi__): Define, unless already defined.
Richard M. Stallman <rms@gnu.org>
parents: 7805
diff changeset
7 #endif
aa4159cad5ed (__bsdi__): Define, unless already defined.
Richard M. Stallman <rms@gnu.org>
parents: 7805
diff changeset
8
aa4159cad5ed (__bsdi__): Define, unless already defined.
Richard M. Stallman <rms@gnu.org>
parents: 7805
diff changeset
9 #define DECLARE_GETPWUID_WITH_UID_T
aa4159cad5ed (__bsdi__): Define, unless already defined.
Richard M. Stallman <rms@gnu.org>
parents: 7805
diff changeset
10
3360
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 #define SIGNALS_VIA_CHARACTERS
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 #define A_TEXT_OFFSET(x) (sizeof (struct exec))
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 #define LIBS_DEBUG
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 #define LIB_X11_LIB -L/usr/X11/lib -lX11
1a1a1822affa Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 #define LIBS_SYSTEM -lutil -lkvm -lcompat
3361
ac036d67c431 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 3360
diff changeset
20
ac036d67c431 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 3360
diff changeset
21 #define HAVE_GETLOADAVG
5970
d6a5848451f3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5918
diff changeset
22
d6a5848451f3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5918
diff changeset
23 #undef BSD_PGRPS
7505
9553f0614817 (LOCALTIME_CACHE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 5970
diff changeset
24
9553f0614817 (LOCALTIME_CACHE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 5970
diff changeset
25 /* The dumped Emacs records the timezone it was dumped in. */
9553f0614817 (LOCALTIME_CACHE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 5970
diff changeset
26 #define LOCALTIME_CACHE
7743
0e058c7168b6 (TABDLY, TAB3): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7505
diff changeset
27
0e058c7168b6 (TABDLY, TAB3): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7505
diff changeset
28 /* System uses OXTABS instead of the expected TAB3.
0e058c7168b6 (TABDLY, TAB3): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7505
diff changeset
29 (Copied from netbsd.h.) */
0e058c7168b6 (TABDLY, TAB3): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7505
diff changeset
30 #define TABDLY OXTABS
0e058c7168b6 (TABDLY, TAB3): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7505
diff changeset
31 #define TAB3 OXTABS
0e058c7168b6 (TABDLY, TAB3): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7505
diff changeset
32
0e058c7168b6 (TABDLY, TAB3): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7505
diff changeset
33 #define SYSV_SYSTEM_DIR
7805
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
34
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
35 /* this silences a few compilation warnings */
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
36 #undef BSD
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
37 #define BSD 199103
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
38
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
39 #define WAITTYPE int
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
40 /* get this since it won't be included if WAITTYPE is defined */
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
41 #ifdef emacs
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
42 #include <sys/wait.h>
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
43 #endif
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
44 #define WRETCODE(w) WEXITSTATUS(w)
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
45 #ifndef WCOREDUMP
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
46 #define WCOREDUMP(w) ((w) & 0200)
94a6c666e4ef (BSD): Redefine.
Richard M. Stallman <rms@gnu.org>
parents: 7743
diff changeset
47 #endif