root/trunk/src/s/bsd386.h

Revision 4220, 1.7 kB (checked in by miyoshi, 8 months ago)

Sync up with Emacs22.2.

  • Property svn:eol-style set to native
Line 
1 /* s/ file for bsd386 system.
2
3    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006,
4                  2007, 2008  Free Software Foundation, Inc.
5
6 This file is part of GNU Emacs.
7
8 GNU Emacs is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option)
11 any later version.
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
19 along with GNU Emacs; see the file COPYING.  If not, write to
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA.  */
22
23
24 #include "bsd4-3.h"
25
26 #ifndef __bsdi__
27 #define __bsdi__ 1
28 #endif
29
30 #define DECLARE_GETPWUID_WITH_UID_T
31
32 #define SIGNALS_VIA_CHARACTERS
33
34 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
35 #define A_TEXT_OFFSET(x)    (sizeof (struct exec))
36 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
37
38 #define LIBS_DEBUG
39 #define LIB_X11_LIB -L/usr/X11/lib -lX11
40 #define LIBS_SYSTEM -lutil -lkvm -lcompat
41
42 #define HAVE_GETLOADAVG 1
43
44 #undef BSD_PGRPS
45
46 /* System uses OXTABS instead of the expected TAB3.
47    (Copied from netbsd.h.)  */
48 #define TABDLY OXTABS
49 #define TAB3 OXTABS
50
51 #define SYSV_SYSTEM_DIR
52
53 #define HAVE_TERMIOS
54 #define NO_TERMIO
55
56 #define WAITTYPE int
57 /* get this since it won't be included if WAITTYPE is defined */
58 #ifdef emacs
59 #include <sys/wait.h>
60 #endif
61 #define WRETCODE(w) WEXITSTATUS(w)
62 #ifndef WCOREDUMP
63 #define WCOREDUMP(w) ((w) & 0200)
64 #endif
65
66 #define GETPGRP_NO_ARG 1
Note: See TracBrowser for help on using the browser.