Sync to HEAD
[bpt/emacs.git] / src / m / stride.h
1 /* Definitions file for GNU Emacs running on Stride Micro System-V.2.2
2 Copyright (C) 1985, 1986, 1999 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 GNU Emacs; 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
22 /* The following line tells the configuration script what sort of
23 operating system this machine is likely to run.
24 USUAL-OPSYS="usg5-2" */
25
26 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
27 is the most significant byte. */
28
29 #define WORDS_BIG_ENDIAN
30
31 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
32 * group of arguments and treat it as an array of the arguments. */
33
34 #undef NO_ARG_ARRAY
35
36 /* Define WORD_MACHINE if addresses and such have
37 * to be corrected before they can be used as byte counts. */
38
39 #undef WORD_MACHINE
40
41 /* Now define a symbol for the cpu type, if your compiler
42 does not define it automatically:
43 vax, m68000, ns16000, pyramid, orion, tahoe, APOLLO and STRIDE
44 are the ones defined so far. */
45
46 #define m68000 /* because the SGS compiler defines "m68k" */
47 #ifndef STRIDE
48 #define STRIDE
49 #endif
50
51 /* Use type int rather than a union, to represent Lisp_Object */
52 /* This is desirable for most machines. */
53
54 #define NO_UNION_TYPE
55
56 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
57 the 24-bit bit field into an int. In other words, if bit fields
58 are always unsigned.
59
60 If you use NO_UNION_TYPE, this flag does not matter. */
61
62 #define EXPLICIT_SIGN_EXTEND
63
64 /* Data type of load average, as read out of kmem. */
65
66 #define LOAD_AVE_TYPE double
67
68 /* Convert that into an integer that is 100 for a load average of 1.0 */
69
70 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0))
71
72 /* Define CANNOT_DUMP on machines where unexec does not work.
73 Then the function dump-emacs will not be defined
74 and temacs will do (load "loadup") automatically unless told otherwise. */
75
76 #undef CANNOT_DUMP
77
78 /* Define VIRT_ADDR_VARIES if the virtual addresses of
79 pure and impure space as loaded can vary, and even their
80 relative order cannot be relied on.
81
82 Otherwise Emacs assumes that text space precedes data space,
83 numerically. */
84
85 #undef VIRT_ADDR_VARIES
86
87 /* The STRIDE system is more powerful than standard USG5. */
88
89 #define HAVE_PTYS
90 #define BSTRING
91 #define SKTPAIR
92 #define HAVE_SOCKETS
93
94 #define MAIL_USE_FLOCK
95 #undef TERMINFO
96 #define EXEC_MAGIC 0413
97
98 /* USG wins again: Foo! I can't get SIGIO to work properly on the Stride, because I'm
99 running a System V variant, and don't have a reliable way to block SIGIO
100 signals without losing them. So, I've gone back to non-SIGIO mode, so
101 please append this line to the file "stride.h":
102 */
103 #define BROKEN_SIGIO
104
105 /* Specify alignment requirement for start of text and data sections
106 in the executable file. */
107
108 #define SECTION_ALIGNMENT (getpagesize() - 1)
109
110 /*
111 * UniStride has this in /lib/libc.a.
112 */
113 #undef NONSYSTEM_DIR_LIBRARY
114
115 /* Define this macro if system defines a type `union wait'. */
116
117 #define HAVE_UNION_WAIT
118
119 /* arch-tag: 65c635ed-5bc7-4ace-ab20-f3442429c8ba
120 (do not change this comment) */