]> code.delx.au - gnu-emacs/blob - src/m/ibm370aix.h
* xterm.c (XTread_socket): Turn off ControlMask for XLookupString.
[gnu-emacs] / src / m / ibm370aix.h
1 /* ibm370.h
2 For IBM 3090 type systems running AIX370.
3 Concocted by Scott Schwartz <schwartz@cs.psu.edu>
4 Copyright (C) 1985, 1986 Free Software Foundation, Inc.
5
6 This file is part of GNU Emacs.
7
8 GNU Emacs is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY. No author or distributor
10 accepts responsibility to anyone for the consequences of using it
11 or for whether it serves any particular purpose or works at all,
12 unless he says so in writing. Refer to the GNU Emacs General Public
13 License for full details.
14
15 Everyone is granted permission to copy, modify and redistribute
16 GNU Emacs, but only under the conditions described in the
17 GNU Emacs General Public License. A copy of this license is
18 supposed to have been given to you along with GNU Emacs so you
19 can know your rights and responsibilities. It should be in a
20 file named COPYING. Among other things, the copyright notice
21 and this notice must be preserved on all copies. */
22
23
24 /* The following three symbols give information on
25 the size of various data types. */
26
27 #define SHORTBITS 16 /* Number of bits in a short */
28
29 #define INTBITS 32 /* Number of bits in an int */
30
31 #define LONGBITS 32 /* Number of bits in a long */
32
33 /* Define BIG_ENDIAN iff lowest-numbered byte in a word
34 is the most significant byte. */
35
36 #define BIG_ENDIAN
37
38 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
39 * group of arguments and treat it as an array of the arguments. */
40
41 #define NO_ARG_ARRAY
42
43 /* Define WORD_MACHINE if addresses and such have
44 * to be corrected before they can be used as byte counts. */
45
46 /* #define WORD_MACHINE */
47
48 /* Now define a symbol for the cpu type, if your compiler
49 does not define it automatically:
50 Ones defined so far include vax, m68000, ns16000, pyramid,
51 orion, tahoe, APOLLO and many others */
52 /* high-c defines _AIX370 */
53
54 /* Use type int rather than a union, to represent Lisp_Object */
55 /* This is desirable for most machines. */
56
57 #define NO_UNION_TYPE
58
59 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
60 the 24-bit bit field into an int. In other words, if bit fields
61 are always unsigned.
62
63 If you use NO_UNION_TYPE, this flag does not matter. */
64
65 #define EXPLICIT_SIGN_EXTEND
66
67 /* Data type of load average, as read out of kmem. */
68
69 #define LOAD_AVE_TYPE double
70
71 /* Convert that into an integer that is 100 for a load average of 1.0 */
72
73 /* XXX */
74 #define LOAD_AVE_CVT(x) (int)(((double) (x)) * 100.0 / 1.0)
75
76 /* Define CANNOT_DUMP on machines where unexec does not work.
77 Then the function dump-emacs will not be defined
78 and temacs will do (load "loadup") automatically unless told otherwise. */
79
80 #define CANNOT_DUMP
81 #define CANNOT_UNEXEC
82
83 /* Define VIRT_ADDR_VARIES if the virtual addresses of
84 pure and impure space as loaded can vary, and even their
85 relative order cannot be relied on.
86
87 Otherwise Emacs assumes that text space precedes data space,
88 numerically. */
89
90 #define VIRT_ADDR_VARIES
91
92 /* Define C_ALLOCA if this machine does not support a true alloca
93 and the one written in C should be used instead.
94 Define HAVE_ALLOCA to say that the system provides a properly
95 working alloca function and it should be used.
96 Define neither one if an assembler-language alloca
97 in the file alloca.s should be used. */
98
99 /* #define C_ALLOCA */
100 #define HAVE_ALLOCA
101
102 #ifndef NO_SHORTNAMES
103 #include <alloca.h>
104 #include <setjmp.h>
105 #endif
106
107 /* Define NO_REMAP if memory segmentation makes it not work well
108 to change the boundary between the text section and data section
109 when Emacs is dumped. If you define this, the preloaded Lisp
110 code will not be sharable; but that's better than failing completely. */
111
112 #define NO_REMAP
113
114 /* Don't try to include sioctl.h. */
115 #undef NEED_SIOCTL
116 /* That probably means we shouldn't try ptem.h either. */
117 #undef NEED_PTEM_H
118
119 /* Note we do not define IBMAIX, since the `hft' features
120 don't exist on this machine. */
121
122 #define LIBS_DEBUG -lg
123 #ifndef LD_SWITCH_SYSTEM
124 #define LD_SWITCH_SYSTEM
125 #endif
126
127 #define LIBS_SYSTEM -lbsd
128
129 /* The symbol in the kernel where the load average is found
130 is named _avenrun. */
131
132 #undef LDAV_SYMBOL
133 #define LDAV_SYMBOL "_avenrun"
134
135 /* define MAIL_USE_FLOCK if the mailer uses flock
136 to interlock access to /usr/spool/mail/$USER.
137 The alternative is that a lock file named
138 /usr/spool/mail/$USER.lock. */
139 #define MAIL_USE_FLOCK
140
141 /* Define CLASH_DETECTION if you want lock files to be written
142 so that Emacs can tell instantly when you try to modify
143 a file that someone else has modified in his Emacs. */
144 #define CLASH_DETECTION
145
146 #define BSTRING
147
148 /* First pty name is /dev/ptyp0. */
149 #define FIRST_PTY_LETTER 'p'
150
151 /*
152 * Define HAVE_TIMEVAL if the system supports the BSD style clock values.
153 * Look in <sys/time.h> for a timeval structure.
154 */
155 #define HAVE_TIMEVAL
156
157 /*
158 * Define HAVE_SELECT if the system supports the `select' system call.
159 */
160 #define HAVE_SELECT
161
162 /*
163 * Define HAVE_PTYS if the system supports pty devices.
164 */
165 #define HAVE_PTYS
166
167 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
168
169 #define HAVE_SOCKETS