annotate src/s/netbsd.h @ 17329:4d2c79262170

(lisp, shortlisp): Include english.elc and tibetan.elc.
author Kenichi Handa <handa@m17n.org>
date Mon, 07 Apr 1997 07:12:13 +0000
parents ba41bb731294
children d419ea48f00e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4690
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
1 /* s/ file for netbsd system. */
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
2
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
3 /* Get most of the stuff from bsd4.3 */
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
4 #include "bsd4-3.h"
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
5
5902
916cd5156aed Use -ltermcap, not Emacs's own version. #undef symbols used for
Charles Hannum <mycroft@gnu.org>
parents: 5901
diff changeset
6 /* For mem-limits.h. */
916cd5156aed Use -ltermcap, not Emacs's own version. #undef symbols used for
Charles Hannum <mycroft@gnu.org>
parents: 5901
diff changeset
7 #define BSD4_2
916cd5156aed Use -ltermcap, not Emacs's own version. #undef symbols used for
Charles Hannum <mycroft@gnu.org>
parents: 5901
diff changeset
8
4690
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
9 #undef KERNEL_FILE
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
10 #undef LDAV_SYMBOL
5902
916cd5156aed Use -ltermcap, not Emacs's own version. #undef symbols used for
Charles Hannum <mycroft@gnu.org>
parents: 5901
diff changeset
11 #define HAVE_GETLOADAVG
4690
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
12
6014
0d370ebc038a (BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 5938
diff changeset
13 #define HAVE_UNION_WAIT
0d370ebc038a (BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 5938
diff changeset
14
4690
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
15 #define SIGNALS_VIA_CHARACTERS
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
16
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
17 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
18
6014
0d370ebc038a (BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 5938
diff changeset
19 /* netbsd uses OXTABS instead of the expected TAB3. */
6861
f8e60e2bd9b3 (TABDLY): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 6401
diff changeset
20 #define TABDLY OXTABS
6014
0d370ebc038a (BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 5938
diff changeset
21 #define TAB3 OXTABS
0d370ebc038a (BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 5938
diff changeset
22
4690
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
23 #define A_TEXT_OFFSET(x) (sizeof (struct exec))
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
24 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
25
6014
0d370ebc038a (BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 5938
diff changeset
26 #define HAVE_TERMIOS
0d370ebc038a (BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 5938
diff changeset
27 #define NO_TERMIO
0d370ebc038a (BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 5938
diff changeset
28
4690
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
29 #define LIBS_DEBUG
5902
916cd5156aed Use -ltermcap, not Emacs's own version. #undef symbols used for
Charles Hannum <mycroft@gnu.org>
parents: 5901
diff changeset
30 /* -lutil is not needed for NetBSD >0.9. */
11336
00320c2e1753 (NO_MATHERR): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 10714
diff changeset
31 /* #define LIBS_SYSTEM -lutil */
5902
916cd5156aed Use -ltermcap, not Emacs's own version. #undef symbols used for
Charles Hannum <mycroft@gnu.org>
parents: 5901
diff changeset
32 #define LIBS_TERMCAP -ltermcap
5901
0377de94724d (SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents: 5334
diff changeset
33
6014
0d370ebc038a (BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 5938
diff changeset
34 #define NEED_ERRNO
5901
0377de94724d (SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents: 5334
diff changeset
35 #define SYSV_SYSTEM_DIR
0377de94724d (SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents: 5334
diff changeset
36
6014
0d370ebc038a (BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 5938
diff changeset
37 /* Netbsd has POSIX-style pgrp behavior. */
0d370ebc038a (BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 5938
diff changeset
38 #undef BSD_PGRPS
0d370ebc038a (BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 5938
diff changeset
39
11705
29064b5e5398 (GETPGRP_NO_ARG): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 11336
diff changeset
40 #define GETPGRP_NO_ARG
29064b5e5398 (GETPGRP_NO_ARG): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 11336
diff changeset
41
6922
26998cd05104 Add NO_SHARED_LIBS conditional.
Richard M. Stallman <rms@gnu.org>
parents: 6861
diff changeset
42 #ifndef NO_SHARED_LIBS
5901
0377de94724d (SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents: 5334
diff changeset
43 /* These definitions should work for either dynamic or static linking,
0377de94724d (SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents: 5334
diff changeset
44 whichever is the default for `cc -nostdlib'. */
5938
db25cb887e22 (BROKEN_START, TEXT_START): Don't define.
Roland McGrath <roland@gnu.org>
parents: 5919
diff changeset
45 #define HAVE_TEXT_START /* No need to define `start_of_text'. */
5901
0377de94724d (SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents: 5334
diff changeset
46 #define START_FILES pre-crt0.o /usr/lib/crt0.o
5902
916cd5156aed Use -ltermcap, not Emacs's own version. #undef symbols used for
Charles Hannum <mycroft@gnu.org>
parents: 5901
diff changeset
47 #define UNEXEC unexsunos4.o
5901
0377de94724d (SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents: 5334
diff changeset
48 #define RUN_TIME_REMAP
5902
916cd5156aed Use -ltermcap, not Emacs's own version. #undef symbols used for
Charles Hannum <mycroft@gnu.org>
parents: 5901
diff changeset
49
916cd5156aed Use -ltermcap, not Emacs's own version. #undef symbols used for
Charles Hannum <mycroft@gnu.org>
parents: 5901
diff changeset
50 /* Try to make this work for both 0.9 and >0.9. */
916cd5156aed Use -ltermcap, not Emacs's own version. #undef symbols used for
Charles Hannum <mycroft@gnu.org>
parents: 5901
diff changeset
51 #ifndef N_TRELOFF
5901
0377de94724d (SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents: 5334
diff changeset
52 #define N_PAGSIZ(x) __LDPGSZ
0377de94724d (SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents: 5334
diff changeset
53 #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
0377de94724d (SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents: 5334
diff changeset
54 #define N_TRELOFF(x) N_RELOFF(x)
5902
916cd5156aed Use -ltermcap, not Emacs's own version. #undef symbols used for
Charles Hannum <mycroft@gnu.org>
parents: 5901
diff changeset
55 #endif
6922
26998cd05104 Add NO_SHARED_LIBS conditional.
Richard M. Stallman <rms@gnu.org>
parents: 6861
diff changeset
56 #endif /* not NO_SHARED_LIBS */
6368
f18c8a4f7125 (LOCALTIME_CACHE): Define this symbol.
Karl Heuer <kwzh@gnu.org>
parents: 6014
diff changeset
57
6388
c82a7e9ae93b (LD_SWITCH_SYSTEM, HAVE_WAIT_HEADER): Define these.
Karl Heuer <kwzh@gnu.org>
parents: 6368
diff changeset
58 #define HAVE_WAIT_HEADER
10714
a383e6129216 (WAIT_USE_INT): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 8916
diff changeset
59 #define WAIT_USE_INT
11336
00320c2e1753 (NO_MATHERR): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 10714
diff changeset
60
00320c2e1753 (NO_MATHERR): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 10714
diff changeset
61 #define NO_MATHERR
12534
3f869873946a (AMPERSAND_FULL_NAME): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 11705
diff changeset
62
3f869873946a (AMPERSAND_FULL_NAME): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 11705
diff changeset
63 #define AMPERSAND_FULL_NAME