comparison src/m/alpha.h @ 48428:e9c516ca4473

Move OSF1 stuff from here to s/osf1.h.
author Dave Love <fx@gnu.org>
date Mon, 18 Nov 2002 16:04:23 +0000
parents a1fefb8caf04
children 23a1cea22d13
comparison
equal deleted inserted replaced
48427:24cfc6cd2142 48428:e9c516ca4473
121 121
122 #define UNEXEC unexalpha.o 122 #define UNEXEC unexalpha.o
123 123
124 #endif /* notdef __ELF__ */ 124 #endif /* notdef __ELF__ */
125 125
126 #ifdef OSF1
127 #define ORDINARY_LINK
128
129 /* Some systems seem to have this, others don't. */
130 #ifdef HAVE_LIBDNET
131 #define LIBS_MACHINE -ldnet
132 #else
133 #define LIBS_MACHINE -ldnet_stub
134 #endif
135 #endif /* OSF1 */
136
137 #if 0 /* Rainer Schoepf <schoepf@uni-mainz.de> says this loses with X11R6
138 since it has only shared libraries. */
139 #ifndef __GNUC__
140 /* This apparently is for the system ld as opposed to Gnu ld. */
141 #ifdef OSF1
142 #define LD_SWITCH_MACHINE -non_shared
143 #endif
144 #endif
145 #endif /* 0 */
146
147 #ifdef OSF1
148 #define LIBS_DEBUG
149 #define START_FILES pre-crt0.o
150 #endif
151
152 #if defined (LINUX) && __GNU_LIBRARY__ - 0 < 6 126 #if defined (LINUX) && __GNU_LIBRARY__ - 0 < 6
153 /* This controls a conditional in main. */ 127 /* This controls a conditional in main. */
154 #define LINUX_SBRK_BUG 128 #define LINUX_SBRK_BUG
155 #endif
156
157
158 #ifndef NOT_C_CODE
159 /* We need these because pointers are larger than the default ints. */
160 #if !defined(__NetBSD__) && !defined(__OpenBSD__)
161 #include <alloca.h>
162 #endif
163
164 #endif /* not NOT_C_CODE */
165
166 #ifdef OSF1
167 #define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */
168 #define PTY_NAME_SPRINTF /* none */
169 #define PTY_TTY_NAME_SPRINTF /* none */
170 #define PTY_OPEN \
171 do \
172 { \
173 int dummy; \
174 SIGMASKTYPE mask; \
175 mask = sigblock (sigmask (SIGCHLD)); \
176 if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \
177 fd = -1; \
178 sigsetmask (mask); \
179 emacs_close (dummy); \
180 } \
181 while (0)
182 #endif 129 #endif
183 130
184 /* On the Alpha it's best to avoid including TERMIO since struct 131 /* On the Alpha it's best to avoid including TERMIO since struct
185 termio and struct termios are mutually incompatible. */ 132 termio and struct termios are mutually incompatible. */
186 #define NO_TERMIO 133 #define NO_TERMIO