From: Richard M. Stallman Date: Wed, 31 Jul 1996 19:18:57 +0000 (+0000) Subject: [__sun && __i386]: Include alloca.h. X-Git-Tag: GNU_ORIG~22 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/b6287af6f679018c3612837728c313e1f1c8e274 [__sun && __i386]: Include alloca.h. --- 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