aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gcc.gnu.org>1993-08-11 07:27:10 +0000
committerRoland McGrath <roland@gcc.gnu.org>1993-08-11 07:27:10 +0000
commit64e026bced0cd76e52fa13c5b2a07617ca31711c (patch)
treef5395c6262507ec04672ca5e63f4bbc6ac72e1a8
parentc7e33f8937a1fc34594569f9cd19800768110bc0 (diff)
downloadgcc-64e026bced0cd76e52fa13c5b2a07617ca31711c.zip
gcc-64e026bced0cd76e52fa13c5b2a07617ca31711c.tar.gz
gcc-64e026bced0cd76e52fa13c5b2a07617ca31711c.tar.bz2
*** empty log message ***
From-SVN: r5132
-rw-r--r--gcc/alloca.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/alloca.c b/gcc/alloca.c
index 16f19a2..367b7fe 100644
--- a/gcc/alloca.c
+++ b/gcc/alloca.c
@@ -25,7 +25,10 @@
#include "config.h"
#endif
-/* If compiling with GCC, this file's not needed. */
+/* If compiling with GCC 2, this file's not needed. */
+#if defined (__GNUC__) && __GNUC__ >= 2
+/* If someone has defined alloca as a macro,
+ there must be some other way alloca is supposed to work. */
#ifndef alloca
#ifdef emacs
@@ -473,3 +476,4 @@ i00afunc (long address)
#endif /* CRAY */
#endif /* no alloca */
+#endif /* not GCC version 2 */