comparison src/m/intel386.h @ 48433:5ae42f289101

Don't include alloca.h or define alloca.
author Dave Love <fx@gnu.org>
date Mon, 18 Nov 2002 16:31:34 +0000
parents 4be8406ebef9
children 23a1cea22d13
comparison
equal deleted inserted replaced
48432:93b2c8968d5c 48433:5ae42f289101
115 #else /* SOLARIS2_4 */ 115 #else /* SOLARIS2_4 */
116 #ifndef __GNUC__ 116 #ifndef __GNUC__
117 #if 0 /* wisner@gryphon.com says this screws up cpp */ 117 #if 0 /* wisner@gryphon.com says this screws up cpp */
118 #define C_SWITCH_MACHINE -Xa 118 #define C_SWITCH_MACHINE -Xa
119 #endif 119 #endif
120 #ifndef NOT_C_CODE
121 #ifdef HAVE_ALLOCA_H
122 #include <alloca.h>
123 #endif /* HAVE_ALLOCA_H */
124 #endif /* not NOT_C_CODE */
125 #endif /* not __GNUC__ */ 120 #endif /* not __GNUC__ */
126 #endif /* SOLARIS2_4 */ 121 #endif /* SOLARIS2_4 */
127 122
128 /* configure thinks solaris X86 has gethostname, but it does not work, 123 /* configure thinks solaris X86 has gethostname, but it does not work,
129 so undefine it. */ 124 so undefine it. */
193 #define NO_REMAP 188 #define NO_REMAP
194 #define TEXT_START 0 189 #define TEXT_START 0
195 #endif /* USG */ 190 #endif /* USG */
196 #endif /* not XENIX */ 191 #endif /* not XENIX */
197 192
198 /* If compiling with GCC, let GCC implement alloca. */
199 #if defined(__GNUC__) && !defined(alloca)
200 #define alloca(n) __builtin_alloca(n)
201 #endif
202
203 #ifdef USG5_4 193 #ifdef USG5_4
204 #define DATA_SEG_BITS 0x08000000 194 #define DATA_SEG_BITS 0x08000000
205 #endif 195 #endif
206 196
207 #ifdef MSDOS 197 #ifdef MSDOS