comparison src/s/netbsd.h @ 6014:0d370ebc038a

(BSD_PGRPS): Add #undef. (TAB3): Defined. (NEED_ERRNO, NO_TERMIO, HAVE_TERMIOS, HAVE_UNION_WAIT): Defined.
author Richard M. Stallman <rms@gnu.org>
date Sun, 20 Feb 1994 07:10:37 +0000
parents db25cb887e22
children f18c8a4f7125
comparison
equal deleted inserted replaced
6013:f03d2629a6a3 6014:0d370ebc038a
11 11
12 #undef KERNEL_FILE 12 #undef KERNEL_FILE
13 #undef LDAV_SYMBOL 13 #undef LDAV_SYMBOL
14 #define HAVE_GETLOADAVG 14 #define HAVE_GETLOADAVG
15 15
16 #define HAVE_UNION_WAIT
17
16 #define SIGNALS_VIA_CHARACTERS 18 #define SIGNALS_VIA_CHARACTERS
17 19
18 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) 20 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
19 21
22 /* netbsd uses OXTABS instead of the expected TAB3. */
23 #define TAB3 OXTABS
24
20 #define A_TEXT_OFFSET(x) (sizeof (struct exec)) 25 #define A_TEXT_OFFSET(x) (sizeof (struct exec))
21 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) 26 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
27
28 #define HAVE_TERMIOS
29 #define NO_TERMIO
22 30
23 #define LIBS_DEBUG 31 #define LIBS_DEBUG
24 /* -lutil is not needed for NetBSD >0.9. */ 32 /* -lutil is not needed for NetBSD >0.9. */
25 #define LIBS_SYSTEM -lutil 33 #define LIBS_SYSTEM -lutil
26 #define LIBS_TERMCAP -ltermcap 34 #define LIBS_TERMCAP -ltermcap
27 35
36 #define NEED_ERRNO
28 #define SYSV_SYSTEM_DIR 37 #define SYSV_SYSTEM_DIR
38
39 /* Netbsd has POSIX-style pgrp behavior. */
40 #undef BSD_PGRPS
29 41
30 /* These definitions should work for either dynamic or static linking, 42 /* These definitions should work for either dynamic or static linking,
31 whichever is the default for `cc -nostdlib'. */ 43 whichever is the default for `cc -nostdlib'. */
32 #define HAVE_TEXT_START /* No need to define `start_of_text'. */ 44 #define HAVE_TEXT_START /* No need to define `start_of_text'. */
33 #define START_FILES pre-crt0.o /usr/lib/crt0.o 45 #define START_FILES pre-crt0.o /usr/lib/crt0.o