0
|
1 /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 3.3.
|
|
2 Copyright (C) 1987,1990 Free Software Foundation, Inc.
|
|
3
|
|
4 This file is part of GNU Emacs.
|
|
5
|
|
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)
|
|
9 any later version.
|
|
10
|
|
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.
|
|
15
|
|
16 You should have received a copy of the GNU General Public License
|
|
17 along with XEmacs; see the file COPYING. If not, write to
|
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
19 Boston, MA 02111-1307, USA. */
|
|
20
|
|
21 /* Synched up with: FSF 19.31. */
|
|
22
|
|
23 /*
|
|
24 * Define symbols to identify the version of Unix this is.
|
|
25 * Define all the symbols that apply correctly.
|
|
26 */
|
|
27
|
|
28 #define USG
|
|
29 #define USG5
|
|
30 #define IRIS
|
|
31 #ifndef IRIX
|
|
32 #define IRIX
|
|
33 #endif
|
|
34
|
|
35 /* SYSTEM_TYPE should indicate the kind of system you are using.
|
|
36 It sets the Lisp variable system-type. */
|
|
37
|
|
38 #define SYSTEM_TYPE "irix"
|
|
39
|
|
40 /* Letter to use in finding device name of first pty,
|
|
41 if system supports pty's. 'a' means it is /dev/ptya0 */
|
|
42
|
|
43 #define FIRST_PTY_LETTER 'a'
|
|
44
|
|
45 /*
|
|
46 * Define HAVE_PTYS if the system supports pty devices.
|
|
47 */
|
|
48
|
|
49 #define HAVE_PTYS
|
|
50
|
|
51 /* If your system uses COFF (Common Object File Format) then define the
|
|
52 preprocessor symbol "COFF". */
|
|
53
|
|
54 /* #define COFF */
|
|
55
|
|
56 /* define MAIL_USE_FLOCK if the mailer uses flock
|
|
57 to interlock access to /usr/spool/mail/$USER.
|
|
58 The alternative is that a lock file named
|
|
59 /usr/spool/mail/$USER.lock. */
|
|
60
|
|
61 #define MAIL_USE_FLOCK
|
|
62
|
|
63 /* The file containing the kernel's symbol table is called /unix. */
|
|
64
|
|
65 #define KERNEL_FILE "/unix"
|
|
66
|
|
67 /* The symbol in the kernel where the load average is found
|
|
68 is named _avenrun. */
|
|
69
|
|
70 #define LDAV_SYMBOL "avenrun"
|
|
71
|
|
72
|
|
73 /* On USG systems the system calls are interruptible by signals
|
|
74 that the user program has elected to catch. Thus the system call
|
|
75 must be retried in these cases. To handle this without massive
|
|
76 changes in the source code, we remap the standard system call names
|
|
77 to names for our own functions in sysdep.c that do the system call
|
|
78 with retries. */
|
|
79
|
|
80 #define INTERRUPTIBLE_OPEN
|
|
81 #define INTERRUPTIBLE_IO
|
|
82
|
|
83 /* XEmacs change -- SGI apparently has a bogus version of memmove,
|
|
84 which causes ralloc.c great pain. However, bcopy works, so use that.
|
|
85 From Paul Flinders <ptf@delcam.co.uk>
|
|
86 (Resist the temptation to put parens around the args in the expansion.
|
|
87 Existence is suffering.)
|
|
88 */
|
|
89 #define memmove(to, from, len) bcopy (from, to, len)
|
|
90
|
|
91 /* This is how to get the device name of the tty end of a pty. */
|
|
92 #define PTY_TTY_NAME_SPRINTF \
|
|
93 sprintf (ptyname, "/dev/ttyq%d", minor (stb.st_rdev));
|
|
94
|
|
95
|
|
96 /* sioctl.h should be included where appropriate. */
|
|
97
|
|
98 #define NEED_SIOCTL
|
|
99
|
|
100
|
|
101 /* This was formerly in LIBS_MACHINE in iris4d.h,
|
|
102 but it is not needed for newer system versions. */
|
|
103 #define LIBS_SYSTEM -lsun
|