** spurious scrolling bug
[emacs.git] / src / s / bsd386.h
bloba3d0983ca253ea9c287ea31d13c0b8850c370e79
1 /* s/ file for bsd386 system.
3 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006,
4 2007 Free Software Foundation, Inc.
6 This file is part of GNU Emacs.
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 2, or (at your option)
11 any later version.
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.
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. */
24 #include "bsd4-3.h"
26 #ifndef __bsdi__
27 #define __bsdi__ 1
28 #endif
30 #define DECLARE_GETPWUID_WITH_UID_T
32 #define SIGNALS_VIA_CHARACTERS
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))
38 #define LIBS_DEBUG
39 #define LIB_X11_LIB -L/usr/X11/lib -lX11
40 #define LIBS_SYSTEM -lutil -lkvm -lcompat
42 #define HAVE_GETLOADAVG 1
44 #undef BSD_PGRPS
46 /* System uses OXTABS instead of the expected TAB3.
47 (Copied from netbsd.h.) */
48 #define TABDLY OXTABS
49 #define TAB3 OXTABS
51 #define SYSV_SYSTEM_DIR
53 #define HAVE_TERMIOS
54 #define NO_TERMIO
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
66 #define GETPGRP_NO_ARG 1
68 /* arch-tag: 867e3bb8-e9df-4763-9c82-8f4accb8209e
69 (do not change this comment) */