From b6287af6f679018c3612837728c313e1f1c8e274 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 31 Jul 1996 19:18:57 +0000 Subject: [PATCH] [__sun && __i386]: Include alloca.h. --- bison.simple | 2 +- src/bison.s1 | 2 +- src/bison.simple | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bison.simple b/bison.simple index 555df94a..88fad589 100644 --- a/bison.simple +++ b/bison.simple @@ -32,7 +32,7 @@ #ifdef __GNUC__ #define alloca __builtin_alloca #else /* not GNU C. */ -#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) +#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386)) #include #else /* not sparc */ /* This used to test MSDOS, but that is a bad idea diff --git a/src/bison.s1 b/src/bison.s1 index 555df94a..88fad589 100644 --- a/src/bison.s1 +++ b/src/bison.s1 @@ -32,7 +32,7 @@ #ifdef __GNUC__ #define alloca __builtin_alloca #else /* not GNU C. */ -#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) +#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386)) #include #else /* not sparc */ /* This used to test MSDOS, but that is a bad idea diff --git a/src/bison.simple b/src/bison.simple index 555df94a..88fad589 100644 --- a/src/bison.simple +++ b/src/bison.simple @@ -32,7 +32,7 @@ #ifdef __GNUC__ #define alloca __builtin_alloca #else /* not GNU C. */ -#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) +#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386)) #include #else /* not sparc */ /* This used to test MSDOS, but that is a bad idea -- 2.45.2