]>
code.delx.au - gnu-emacs/blob - src/s/netbsd.h
1 /* s/ file for netbsd system. */
3 /* Get most of the stuff from bsd4.3 */
6 /* For mem-limits.h. */
11 #define HAVE_GETLOADAVG
13 #define HAVE_UNION_WAIT
15 #define SIGNALS_VIA_CHARACTERS
17 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
19 /* netbsd uses OXTABS instead of the expected TAB3. */
23 #define A_TEXT_OFFSET(x) (sizeof (struct exec))
24 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
30 /* -lutil is not needed for NetBSD >0.9. */
31 /* #define LIBS_SYSTEM -lutil */
32 #define LIBS_TERMCAP -ltermcap
35 #define SYSV_SYSTEM_DIR
37 /* Netbsd has POSIX-style pgrp behavior. */
40 #define GETPGRP_NO_ARG
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
50 /* Try to make this work for both 0.9 and >0.9. */
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)
56 #endif /* not NO_SHARED_LIBS */
58 #define HAVE_WAIT_HEADER
63 #define AMPERSAND_FULL_NAME