Enclosed the media stop status assignment inside the
[sxemacs] / src / s / aix3-1.h
1 /* Definitions file for GNU Emacs running on IBM AIX version 3.1
2    Copyright (C) 1985, 1986, 1990 Free Software Foundation, Inc.
3
4 This file is part of SXEmacs
5
6 SXEmacs 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 3 of the License, or
9 (at your option) any later version.
10
11 SXEmacs 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 this program.  If not, see <http://www.gnu.org/licenses/>. */
18
19
20 /* Synched up with: FSF 19.31. */
21
22 /*
23  *      Define symbols to identify the version of Unix this is.
24  *      Define all the symbols that apply correctly.
25  */
26
27 #define USG                     /* System III, System V, etc */
28 #define USG5
29
30 /*      Specify IBM AIX version of system */
31
32 #ifndef AIX
33 #define AIX
34 #endif
35
36 /*      turn off c prototypes */
37 /* XEmacs change: XEmacs compiles fine with prototypes under AIX, dkeller@vnet.ibm.com
38 #ifndef _NO_PROTO
39 #define _NO_PROTO
40 #endif
41 */
42
43 /*      This symbol should be defined on AIX Version 3  ??????? */
44 #ifndef _AIX
45 #define _AIX
46 #endif
47
48 /*      Specify "_BSD" to invoke Berkeley compatibility in header files */
49 /*#ifndef _BSD
50 #define _BSD
51 #endif
52 */
53
54 /* SYSTEM_TYPE should indicate the kind of system you are using.
55  It sets the Lisp variable system-type.  */
56
57 #define SYSTEM_TYPE "aix"
58
59 /* In AIX, you allocate a pty by opening /dev/ptc to get the master side.
60    To get the name of the slave side, you just ttyname() the master side.  */
61
62 /*
63  *      Define HAVE_PTYS if the system supports pty devices.
64  */
65
66 #define HAVE_PTYS
67
68 /* If your system uses COFF (Common Object File Format) then define the
69    preprocessor symbol "COFF". */
70
71 /* #define COFF */
72
73 /* define MAIL_USE_FLOCK if the mailer uses flock
74    to interlock access to /usr/spool/mail/$USER.
75    The alternative is that a lock file named
76    /usr/spool/mail/$USER.lock.  */
77
78 /* #define MAIL_USE_FLOCK */
79
80 /* The file containing the kernel's symbol table is called /unix.  */
81
82 #define KERNEL_FILE "/unix"
83
84 /* The symbol in the kernel where the load average is found
85    is named avenrun.  */
86
87 #define LDAV_SYMBOL "avenrun"
88 /* Special itemss needed to make Emacs run on this system.  */
89
90 /* On USG systems the system calls are interruptible by signals
91  that the user program has elected to catch.  Thus the system call
92  must be retried in these cases.  To handle this without massive
93  changes in the source code, we remap the standard system call names
94  to names for our own functions in sysdep.c that do the system call
95  with retries. */
96
97 #define INTERRUPTIBLE_OPEN
98 #define INTERRUPTIBLE_IO
99
100 /* Compiler bug bites on many systems when default ADDR_CORRECT is used.  */
101
102 /* #define ADDR_CORRECT(x) (x) */
103
104 #ifndef __GNUC__
105 #define LINKER "cc"
106 #endif
107
108 /* Prevent -lg from being used for debugging.  Not needed.  */
109
110 #define LIBS_DEBUG
111
112 /* No need to specify -lc when linking.  */
113
114 #define LIB_STANDARD
115
116 /* Use terminfo instead of termcap.  */
117
118 #define TERMINFO
119
120 /* The following definition seems to be needed in AIX version 3.1.6.8.
121    It may not have been needed in certain earlier versions.  */
122 #define HAVE_TCATTR
123
124 #define SYSTEM_MALLOC
125
126 /* AIX doesn't define this.  */
127 #define unix 1
128
129 /* AIX 3.1 has the HFT features.  */
130 #define AIXHFT
131
132 /* For unexaix.c. */
133 #define ALIGN_DATA_RELOC