Commit | Line | Data |
---|---|---|
6e0394c0 GM |
1 | /* s/ file for bsd386 system. |
2 | ||
4b158629 GM |
3 | Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
4 | 2008 Free Software Foundation, Inc. | |
6e0394c0 GM |
5 | |
6 | This file is part of GNU Emacs. | |
7 | ||
4b158629 | 8 | GNU Emacs is free software: you can redistribute it and/or modify |
6e0394c0 | 9 | it under the terms of the GNU General Public License as published by |
4b158629 GM |
10 | the Free Software Foundation, either version 3 of the License, or |
11 | (at your option) any later version. | |
6e0394c0 GM |
12 | |
13 | GNU Emacs is distributed in the hope that it will be useful, | |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | GNU General Public License for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
4b158629 | 19 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
6e0394c0 | 20 | |
31baa3e3 RS |
21 | |
22 | #include "bsd4-3.h" | |
23 | ||
3f1e0e3a RS |
24 | #ifndef __bsdi__ |
25 | #define __bsdi__ 1 | |
26 | #endif | |
27 | ||
28 | #define DECLARE_GETPWUID_WITH_UID_T | |
29 | ||
31baa3e3 RS |
30 | #define SIGNALS_VIA_CHARACTERS |
31 | ||
32 | #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) | |
33 | #define A_TEXT_OFFSET(x) (sizeof (struct exec)) | |
34 | #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) | |
35 | ||
31baa3e3 RS |
36 | #define LIBS_DEBUG |
37 | #define LIB_X11_LIB -L/usr/X11/lib -lX11 | |
38 | #define LIBS_SYSTEM -lutil -lkvm -lcompat | |
2efc8a29 | 39 | |
c99c89ac | 40 | #define HAVE_GETLOADAVG 1 |
8fffa182 | 41 | |
c1244c71 | 42 | #undef BSD_PGRPS |
57705ff7 | 43 | |
21b16c1f RS |
44 | /* System uses OXTABS instead of the expected TAB3. |
45 | (Copied from netbsd.h.) */ | |
46 | #define TABDLY OXTABS | |
47 | #define TAB3 OXTABS | |
48 | ||
49 | #define SYSV_SYSTEM_DIR | |
908fee49 | 50 | |
c6322c8c RS |
51 | #define HAVE_TERMIOS |
52 | #define NO_TERMIO | |
53 | ||
908fee49 RS |
54 | #define WAITTYPE int |
55 | /* get this since it won't be included if WAITTYPE is defined */ | |
56 | #ifdef emacs | |
57 | #include <sys/wait.h> | |
58 | #endif | |
59 | #define WRETCODE(w) WEXITSTATUS(w) | |
60 | #ifndef WCOREDUMP | |
61 | #define WCOREDUMP(w) ((w) & 0200) | |
62 | #endif | |
c6322c8c | 63 | |
e84a0ae9 | 64 | #define GETPGRP_NO_ARG 1 |
ab5796a9 MB |
65 | |
66 | /* arch-tag: 867e3bb8-e9df-4763-9c82-8f4accb8209e | |
67 | (do not change this comment) */ |