]> code.delx.au - gnu-emacs/blob - src/s/netbsd.h
(re_max_failures): Reduce to 8000.
[gnu-emacs] / src / s / netbsd.h
1 /* s/ file for netbsd system. */
2
3 /* Get most of the stuff from bsd4.3 */
4 #include "bsd4-3.h"
5
6 /* For mem-limits.h. */
7 #define BSD4_2
8
9 #undef KERNEL_FILE
10 #undef LDAV_SYMBOL
11 #define HAVE_GETLOADAVG
12
13 #define HAVE_UNION_WAIT
14
15 #define SIGNALS_VIA_CHARACTERS
16
17 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
18
19 /* netbsd uses OXTABS instead of the expected TAB3. */
20 #define TABDLY OXTABS
21 #define TAB3 OXTABS
22
23 #define A_TEXT_OFFSET(x) (sizeof (struct exec))
24 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
25
26 #define HAVE_TERMIOS
27 #define NO_TERMIO
28
29 #define LIBS_DEBUG
30 /* -lutil is not needed for NetBSD >0.9. */
31 /* #define LIBS_SYSTEM -lutil */
32 #define LIBS_TERMCAP -ltermcap
33
34 #define NEED_ERRNO
35 #define SYSV_SYSTEM_DIR
36
37 /* Netbsd has POSIX-style pgrp behavior. */
38 #undef BSD_PGRPS
39
40 #define GETPGRP_NO_ARG
41
42 #ifndef NO_SHARED_LIBS
43 /* These definitions should work for either dynamic or static linking,
44 whichever is the default for `cc -nostdlib'. */
45 #define HAVE_TEXT_START /* No need to define `start_of_text'. */
46 #define START_FILES pre-crt0.o /usr/lib/crt0.o
47 #define UNEXEC unexsunos4.o
48 #define RUN_TIME_REMAP
49
50 /* Try to make this work for both 0.9 and >0.9. */
51 #ifndef N_TRELOFF
52 #define N_PAGSIZ(x) __LDPGSZ
53 #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
54 #define N_TRELOFF(x) N_RELOFF(x)
55 #endif
56 #endif /* not NO_SHARED_LIBS */
57
58 #define HAVE_WAIT_HEADER
59 #define WAIT_USE_INT
60
61 #define NO_MATHERR
62
63 #define AMPERSAND_FULL_NAME