Commit | Line | Data |
---|---|---|
31baa3e3 RS |
1 | /* s/ file for bsd386 system. */ |
2 | ||
3 | #include "bsd4-3.h" | |
4 | ||
3f1e0e3a RS |
5 | #ifndef __bsdi__ |
6 | #define __bsdi__ 1 | |
7 | #endif | |
8 | ||
9 | #define DECLARE_GETPWUID_WITH_UID_T | |
10 | ||
31baa3e3 RS |
11 | #define SIGNALS_VIA_CHARACTERS |
12 | ||
13 | #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) | |
14 | #define A_TEXT_OFFSET(x) (sizeof (struct exec)) | |
15 | #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) | |
16 | ||
31baa3e3 RS |
17 | #define LIBS_DEBUG |
18 | #define LIB_X11_LIB -L/usr/X11/lib -lX11 | |
19 | #define LIBS_SYSTEM -lutil -lkvm -lcompat | |
2efc8a29 KH |
20 | |
21 | #define HAVE_GETLOADAVG | |
c1244c71 RS |
22 | |
23 | #undef BSD_PGRPS | |
57705ff7 | 24 | |
21b16c1f RS |
25 | /* System uses OXTABS instead of the expected TAB3. |
26 | (Copied from netbsd.h.) */ | |
27 | #define TABDLY OXTABS | |
28 | #define TAB3 OXTABS | |
29 | ||
30 | #define SYSV_SYSTEM_DIR | |
908fee49 | 31 | |
c6322c8c RS |
32 | #define HAVE_TERMIOS |
33 | #define NO_TERMIO | |
34 | ||
908fee49 RS |
35 | #define WAITTYPE int |
36 | /* get this since it won't be included if WAITTYPE is defined */ | |
37 | #ifdef emacs | |
38 | #include <sys/wait.h> | |
39 | #endif | |
40 | #define WRETCODE(w) WEXITSTATUS(w) | |
41 | #ifndef WCOREDUMP | |
42 | #define WCOREDUMP(w) ((w) & 0200) | |
43 | #endif | |
c6322c8c | 44 | |
e84a0ae9 | 45 | #define GETPGRP_NO_ARG 1 |