1 /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 3.3.
2 Copyright (C) 1987,1990 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 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. */
21 /* Synched up with: FSF 19.31. */
24 * Define symbols to identify the version of Unix this is.
25 * Define all the symbols that apply correctly.
35 /* SYSTEM_TYPE should indicate the kind of system you are using.
36 It sets the Lisp variable system-type. */
38 #define SYSTEM_TYPE "irix"
40 /* Letter to use in finding device name of first pty,
41 if system supports pty's. 'a' means it is /dev/ptya0 */
43 #define FIRST_PTY_LETTER 'a'
46 * Define HAVE_PTYS if the system supports pty devices.
51 /* If your system uses COFF (Common Object File Format) then define the
52 preprocessor symbol "COFF". */
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. */
61 #define MAIL_USE_FLOCK
63 /* The file containing the kernel's symbol table is called /unix. */
65 #define KERNEL_FILE "/unix"
67 /* The symbol in the kernel where the load average is found
70 #define LDAV_SYMBOL "avenrun"
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
80 #define INTERRUPTIBLE_OPEN
81 #define INTERRUPTIBLE_IO
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.)
89 #define memmove(to, from, len) bcopy (from, to, len)
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));
96 /* sioctl.h should be included where appropriate. */
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"