]>
code.delx.au - gnu-emacs/blob - src/s/sco4.h
1 /* System description file for SCO 3.2v4.
2 Copyright (C) 1993 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 GNU Emacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
20 /* Contributed by Ian Lance Taylor, ian@cygnus.com. */
22 /* SCO is sort of like SVR3. */
25 /* SYSTEM_TYPE should indicate the kind of system you are using. */
27 #define SYSTEM_TYPE "SCO 3.2v4"
29 /* SCO supports job control. */
32 /* SCO has termios. */
35 /* SCO has timeval. */
38 /* SCO has ptys with unusual names. */
41 #define PTY_NAME_SPRINTF \
42 sprintf (pty_name, "/dev/ptyp%d", ((c - FIRST_PTY_LETTER) * 16) + i);
43 #define PTY_TTY_NAME_SPRINTF \
44 sprintf (pty_name, "/dev/ttyp%d", ((c - FIRST_PTY_LETTER) * 16) + i);
46 /* SCO has bcopy, et. al. */
49 /* Use both <time.h> and <sys/time.h>. */
50 #define TIME_WITH_SYS_TIME
52 /* Sockets are an option on SCO. If we have X, we have them. */
58 #define LIBS_SYSTEM -lsocket
61 /* We don't have -loldX, and we don't need it. */
64 /* SCO does have TIOCGWINSZ. */
65 #undef BROKEN_TIOCGWINSZ
68 /* SCO has rename, but some people say it is broken. Try this for
72 /* We need to link with crt1.o and crtn.o. */
73 #define START_FILES pre-crt0.o /lib/crt1.o
74 #define LIB_STANDARD -lc /lib/crtn.o