This commit was generated by cvs2svn to compensate for changes in r1705,
[chise/xemacs-chise.git.1] / 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 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                             /* System III, System V, etc */
29 #define USG5
30
31 /*      Specify IBM AIX version of system */
32
33 #ifndef AIX
34 #define AIX
35 #endif
36
37 /*      turn off c prototypes */
38 /* XEmacs change: XEmacs compiles fine with prototypes under AIX, dkeller@vnet.ibm.com
39 #ifndef _NO_PROTO
40 #define _NO_PROTO
41 #endif
42 */
43
44 /*      This symbol should be defined on AIX Version 3  ??????? */
45 #ifndef _AIX
46 #define _AIX
47 #endif
48
49 /*      Specify "_BSD" to invoke Berkeley compatibility in header files */
50 /*#ifndef _BSD
51 #define _BSD
52 #endif
53 */
54
55 /* SYSTEM_TYPE should indicate the kind of system you are using.
56  It sets the Lisp variable system-type.  */
57
58 #define SYSTEM_TYPE "aix"
59
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.  */
62
63 /*
64  *      Define HAVE_PTYS if the system supports pty devices.
65  */
66
67 #define HAVE_PTYS
68
69 /* If your system uses COFF (Common Object File Format) then define the
70    preprocessor symbol "COFF". */
71
72 /* #define COFF */
73
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.  */
78
79 /* #define MAIL_USE_FLOCK */
80
81 /* The file containing the kernel's symbol table is called /unix.  */
82
83 #define KERNEL_FILE "/unix"
84
85 /* The symbol in the kernel where the load average is found
86    is named avenrun.  */
87
88 #define LDAV_SYMBOL "avenrun"
89 /* Special itemss needed to make Emacs run on this system.  */
90
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
96  with retries. */
97
98 #define INTERRUPTIBLE_OPEN
99 #define INTERRUPTIBLE_IO
100
101 /* Compiler bug bites on many systems when default ADDR_CORRECT is used.  */
102
103 /* #define ADDR_CORRECT(x) (x) */
104
105 #ifndef __GNUC__
106 #define LINKER "cc"
107 #endif
108
109 /* Prevent -lg from being used for debugging.  Not needed.  */
110
111 #define LIBS_DEBUG
112
113 /* No need to specify -lc when linking.  */
114
115 #define LIB_STANDARD
116
117 /* Use terminfo instead of termcap.  */
118
119 #define TERMINFO
120
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.  */
123 #define HAVE_TCATTR
124
125 #define SYSTEM_MALLOC
126
127 /* AIX doesn't define this.  */
128 #define unix 1
129
130 /* AIX 3.1 has the HFT features.  */
131 #define AIXHFT
132
133 /* For unexaix.c. */
134 #define ALIGN_DATA_RELOC
135