1 /* Definitions file for GNU Emacs running on IBM AIX version 3.1
2 Copyright (C) 1985, 1986, 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.
28 #define USG /* System III, System V, etc */
31 /* Specify IBM AIX version of system */
37 /* turn off c prototypes */
38 /* XEmacs change: XEmacs compiles fine with prototypes under AIX, dkeller@vnet.ibm.com
44 /* This symbol should be defined on AIX Version 3 ??????? */
49 /* Specify "_BSD" to invoke Berkeley compatibility in header files */
55 /* SYSTEM_TYPE should indicate the kind of system you are using.
56 It sets the Lisp variable system-type. */
58 #define SYSTEM_TYPE "aix"
60 /* In AIX, you allocate a pty by opening /dev/ptc to get the master side.
61 To get the name of the slave side, you just ttyname() the master side. */
64 * Define HAVE_PTYS if the system supports pty devices.
69 /* If your system uses COFF (Common Object File Format) then define the
70 preprocessor symbol "COFF". */
74 /* define MAIL_USE_FLOCK if the mailer uses flock
75 to interlock access to /usr/spool/mail/$USER.
76 The alternative is that a lock file named
77 /usr/spool/mail/$USER.lock. */
79 /* #define MAIL_USE_FLOCK */
81 /* The file containing the kernel's symbol table is called /unix. */
83 #define KERNEL_FILE "/unix"
85 /* The symbol in the kernel where the load average is found
88 #define LDAV_SYMBOL "avenrun"
89 /* Special itemss needed to make Emacs run on this system. */
91 /* On USG systems the system calls are interruptible by signals
92 that the user program has elected to catch. Thus the system call
93 must be retried in these cases. To handle this without massive
94 changes in the source code, we remap the standard system call names
95 to names for our own functions in sysdep.c that do the system call
98 #define INTERRUPTIBLE_OPEN
99 #define INTERRUPTIBLE_IO
101 /* Compiler bug bites on many systems when default ADDR_CORRECT is used. */
103 /* #define ADDR_CORRECT(x) (x) */
109 /* Prevent -lg from being used for debugging. Not needed. */
113 /* No need to specify -lc when linking. */
117 /* Use terminfo instead of termcap. */
121 /* The following definition seems to be needed in AIX version 3.1.6.8.
122 It may not have been needed in certain earlier versions. */
125 #define SYSTEM_MALLOC
127 /* AIX doesn't define this. */
130 /* AIX 3.1 has the HFT features. */
134 #define ALIGN_DATA_RELOC