]>
code.delx.au - gnu-emacs/blob - src/m/ibm370aix.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.
6 This file is part of GNU Emacs.
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.
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. */
24 /* The following three symbols give information on
25 the size of various data types. */
27 #define SHORTBITS 16 /* Number of bits in a short */
29 #define INTBITS 32 /* Number of bits in an int */
31 #define LONGBITS 32 /* Number of bits in a long */
33 /* Define BIG_ENDIAN iff lowest-numbered byte in a word
34 is the most significant byte. */
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. */
43 /* Define WORD_MACHINE if addresses and such have
44 * to be corrected before they can be used as byte counts. */
46 /* #define WORD_MACHINE */
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 */
54 /* Use type int rather than a union, to represent Lisp_Object */
55 /* This is desirable for most machines. */
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
63 If you use NO_UNION_TYPE, this flag does not matter. */
65 #define EXPLICIT_SIGN_EXTEND
67 /* Data type of load average, as read out of kmem. */
69 #define LOAD_AVE_TYPE double
71 /* Convert that into an integer that is 100 for a load average of 1.0 */
74 #define LOAD_AVE_CVT(x) (int)(((double) (x)) * 100.0 / 1.0)
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. */
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.
87 Otherwise Emacs assumes that text space precedes data space,
90 #define VIRT_ADDR_VARIES
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. */
99 /* #define C_ALLOCA */
102 #ifndef NO_SHORTNAMES
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. */
114 /* Don't try to include sioctl.h. */
116 /* That probably means we shouldn't try ptem.h either. */
119 /* Note we do not define IBMAIX, since the `hft' features
120 don't exist on this machine. */
122 #define LIBS_DEBUG -lg
123 #ifndef LD_SWITCH_SYSTEM
124 #define LD_SWITCH_SYSTEM
127 #define LIBS_SYSTEM -lbsd
129 /* The symbol in the kernel where the load average is found
130 is named _avenrun. */
133 #define LDAV_SYMBOL "_avenrun"
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
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
148 /* First pty name is /dev/ptyp0. */
149 #define FIRST_PTY_LETTER 'p'
152 * Define HAVE_TIMEVAL if the system supports the BSD style clock values.
153 * Look in <sys/time.h> for a timeval structure.
158 * Define HAVE_SELECT if the system supports the `select' system call.
163 * Define HAVE_PTYS if the system supports pty devices.
167 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */