Reworked.
[emacs/old-mirror.git] / src / s / irix3-3.h
bloba65242179a92b42d16421105dcd9b09848aa7910
1 /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 3.3.
2 Copyright (C) 1987, 1990, 1999, 2002, 2003, 2004,
3 2005, 2006 Free Software Foundation, Inc.
5 This file is part of GNU Emacs.
7 GNU Emacs is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 GNU Emacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
24 * Define symbols to identify the version of Unix this is.
25 * Define all the symbols that apply correctly.
28 #define USG
29 #define USG5
30 #define IRIS
31 #ifndef IRIX
32 #define IRIX
33 #endif
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 /* nomultiplejobs should be defined if your system's shell
41 does not have "job control" (the ability to stop a program,
42 run some other program, then continue the first one). */
44 /* #define NOMULTIPLEJOBS */
46 /* Default is to set interrupt_input to 0: don't do input buffering within Emacs */
48 /* #define INTERRUPT_INPUT */
50 /* Letter to use in finding device name of first pty,
51 if system supports pty's. 'a' means it is /dev/ptya0 */
53 #define FIRST_PTY_LETTER 'a'
56 * Define HAVE_TERMIO if the system provides sysV-style ioctls
57 * for terminal control.
60 #define HAVE_TERMIO
63 * Define HAVE_PTYS if the system supports pty devices.
66 #define HAVE_PTYS
68 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
70 #define HAVE_SOCKETS
73 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
74 * The 4.2 opendir, etc., library functions.
77 /* #define NONSYSTEM_DIR_LIBRARY */
79 /* Define this symbol if your system has the functions bcopy, etc. */
81 #define BSTRING
83 /* subprocesses should be defined if you want to
84 have code for asynchronous subprocesses
85 (as used in M-x compile and M-x shell).
86 This is generally OS dependent, and not supported
87 under most USG systems. */
89 #define subprocesses
91 /* If your system uses COFF (Common Object File Format) then define the
92 preprocessor symbol "COFF". */
94 /* #define COFF */
96 /* define MAIL_USE_FLOCK if the mailer uses flock
97 to interlock access to /usr/spool/mail/$USER.
98 The alternative is that a lock file named
99 /usr/spool/mail/$USER.lock. */
101 #define MAIL_USE_FLOCK
103 /* Define CLASH_DETECTION if you want lock files to be written
104 so that Emacs can tell instantly when you try to modify
105 a file that someone else has modified in his Emacs. */
107 /* #define CLASH_DETECTION */
109 /* The file containing the kernel's symbol table is called /unix. */
111 #define KERNEL_FILE "/unix"
113 /* The symbol in the kernel where the load average is found
114 is named _avenrun. */
116 #define LDAV_SYMBOL "avenrun"
119 /* setjmp and longjmp can safely replace _setjmp and _longjmp,
120 but they will run slower. */
122 #define _setjmp setjmp
123 #define _longjmp longjmp
125 /* On USG systems these have different names */
127 #define index strchr
128 #define rindex strrchr
130 /* USG systems tend to put everything declared static
131 into the initialized data area, which becomes pure after dumping Emacs.
132 Foil this. Emacs carefully avoids static vars inside functions. */
134 /* #define static */
136 /* This is how to get the device name of the tty end of a pty. */
137 #define PTY_TTY_NAME_SPRINTF \
138 sprintf (ptyname, "/dev/ttyq%d", minor (stb.st_rdev));
141 #define HAVE_SYSVIPC
143 /* sioctl.h should be included where appropriate. */
145 #define NEED_SIOCTL
147 /* This affects child_setup. */
149 #define SETPGRP_RELEASES_CTTY
151 /* This was formerly in LIBS_MACHINE in iris4d.h,
152 but it is not needed for newer system versions. */
153 #define LIBS_SYSTEM -lsun
155 /* arch-tag: cccdd761-2ae9-4e71-a33e-749681c01889
156 (do not change this comment) */