Mercurial > emacs
annotate src/s/netbsd.h @ 7873:09fd0024f046
Add conditional for SOLARIS2.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 13 Jun 1994 21:09:17 +0000 |
parents | 26998cd05104 |
children | 696f213398e8 |
rev | line source |
---|---|
4690 | 1 /* s/ file for netbsd system. */ |
2 | |
3 /* Get most of the stuff from bsd4.3 */ | |
4 #include "bsd4-3.h" | |
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 | 9 #undef SYSTEM_TYPE |
10 #define SYSTEM_TYPE "netbsd" | |
11 | |
12 #undef KERNEL_FILE | |
13 #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
|
14 #define HAVE_GETLOADAVG |
4690 | 15 |
6014
0d370ebc038a
(BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
5938
diff
changeset
|
16 #define HAVE_UNION_WAIT |
0d370ebc038a
(BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
5938
diff
changeset
|
17 |
4690 | 18 #define SIGNALS_VIA_CHARACTERS |
19 | |
20 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) | |
21 | |
6014
0d370ebc038a
(BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
5938
diff
changeset
|
22 /* netbsd uses OXTABS instead of the expected TAB3. */ |
6861 | 23 #define TABDLY OXTABS |
6014
0d370ebc038a
(BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
5938
diff
changeset
|
24 #define TAB3 OXTABS |
0d370ebc038a
(BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
5938
diff
changeset
|
25 |
4690 | 26 #define A_TEXT_OFFSET(x) (sizeof (struct exec)) |
27 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) | |
28 | |
6014
0d370ebc038a
(BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
5938
diff
changeset
|
29 #define HAVE_TERMIOS |
0d370ebc038a
(BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
5938
diff
changeset
|
30 #define NO_TERMIO |
0d370ebc038a
(BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
5938
diff
changeset
|
31 |
4690 | 32 #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
|
33 /* -lutil is not needed for NetBSD >0.9. */ |
4690 | 34 #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
|
35 #define LIBS_TERMCAP -ltermcap |
5901
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 #define NEED_ERRNO |
5901
0377de94724d
(SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents:
5334
diff
changeset
|
38 #define SYSV_SYSTEM_DIR |
0377de94724d
(SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents:
5334
diff
changeset
|
39 |
6014
0d370ebc038a
(BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
5938
diff
changeset
|
40 /* Netbsd has POSIX-style pgrp behavior. */ |
0d370ebc038a
(BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
5938
diff
changeset
|
41 #undef BSD_PGRPS |
0d370ebc038a
(BSD_PGRPS): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
5938
diff
changeset
|
42 |
6922
26998cd05104
Add NO_SHARED_LIBS conditional.
Richard M. Stallman <rms@gnu.org>
parents:
6861
diff
changeset
|
43 #ifndef NO_SHARED_LIBS |
5901
0377de94724d
(SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents:
5334
diff
changeset
|
44 /* These definitions should work for either dynamic or static linking, |
0377de94724d
(SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents:
5334
diff
changeset
|
45 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
|
46 #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
|
47 #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
|
48 #define UNEXEC unexsunos4.o |
5901
0377de94724d
(SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents:
5334
diff
changeset
|
49 #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
|
50 |
916cd5156aed
Use -ltermcap, not Emacs's own version. #undef symbols used for
Charles Hannum <mycroft@gnu.org>
parents:
5901
diff
changeset
|
51 /* 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
|
52 #ifndef N_TRELOFF |
5901
0377de94724d
(SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents:
5334
diff
changeset
|
53 #define N_PAGSIZ(x) __LDPGSZ |
0377de94724d
(SYSV_SYSTEM_DIR): Define.
Roland McGrath <roland@gnu.org>
parents:
5334
diff
changeset
|
54 #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
|
55 #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
|
56 #endif |
6922
26998cd05104
Add NO_SHARED_LIBS conditional.
Richard M. Stallman <rms@gnu.org>
parents:
6861
diff
changeset
|
57 #endif /* not NO_SHARED_LIBS */ |
6368
f18c8a4f7125
(LOCALTIME_CACHE): Define this symbol.
Karl Heuer <kwzh@gnu.org>
parents:
6014
diff
changeset
|
58 |
f18c8a4f7125
(LOCALTIME_CACHE): Define this symbol.
Karl Heuer <kwzh@gnu.org>
parents:
6014
diff
changeset
|
59 /* Reread the time zone on startup. */ |
f18c8a4f7125
(LOCALTIME_CACHE): Define this symbol.
Karl Heuer <kwzh@gnu.org>
parents:
6014
diff
changeset
|
60 #define LOCALTIME_CACHE |
6388
c82a7e9ae93b
(LD_SWITCH_SYSTEM, HAVE_WAIT_HEADER): Define these.
Karl Heuer <kwzh@gnu.org>
parents:
6368
diff
changeset
|
61 |
c82a7e9ae93b
(LD_SWITCH_SYSTEM, HAVE_WAIT_HEADER): Define these.
Karl Heuer <kwzh@gnu.org>
parents:
6368
diff
changeset
|
62 #define HAVE_WAIT_HEADER |