]> code.delx.au - gnu-emacs/commitdiff
Don't include alloca.h or define alloca.
authorDave Love <fx@gnu.org>
Mon, 18 Nov 2002 16:31:34 +0000 (16:31 +0000)
committerDave Love <fx@gnu.org>
Mon, 18 Nov 2002 16:31:34 +0000 (16:31 +0000)
src/m/intel386.h

index 26be9d6fd97195700f4b8b2a3945548f665b48d3..318a5e1c7dc2efbc0b369abcb1097e3c13d2c2eb 100644 (file)
@@ -117,11 +117,6 @@ NOTE-END */
 #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 <alloca.h>
-#endif /* HAVE_ALLOCA_H */
-#endif /* not NOT_C_CODE */
 #endif /* not __GNUC__ */
 #endif /* SOLARIS2_4 */
 
@@ -195,11 +190,6 @@ NOTE-END */
 #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