# HG changeset patch # User Dave Love # Date 1037637094 0 # Node ID 5ae42f28910153dcbf2eae04b25e0fdb425a703e # Parent 93b2c8968d5ca304f8dd32f03c476731c71473b7 Don't include alloca.h or define alloca. diff -r 93b2c8968d5c -r 5ae42f289101 src/m/intel386.h --- a/src/m/intel386.h Mon Nov 18 16:27:08 2002 +0000 +++ b/src/m/intel386.h Mon Nov 18 16:31:34 2002 +0000 @@ -117,11 +117,6 @@ #if 0 /* wisner@gryphon.com says this screws up cpp */ #define C_SWITCH_MACHINE -Xa #endif -#ifndef NOT_C_CODE -#ifdef HAVE_ALLOCA_H -#include -#endif /* HAVE_ALLOCA_H */ -#endif /* not NOT_C_CODE */ #endif /* not __GNUC__ */ #endif /* SOLARIS2_4 */ @@ -195,11 +190,6 @@ #endif /* USG */ #endif /* not XENIX */ -/* If compiling with GCC, let GCC implement alloca. */ -#if defined(__GNUC__) && !defined(alloca) -#define alloca(n) __builtin_alloca(n) -#endif - #ifdef USG5_4 #define DATA_SEG_BITS 0x08000000 #endif