summaryrefslogtreecommitdiff
path: root/gcc/alloca.c
diff options
context:
space:
mode:
authorroland <roland@138bc75d-0d04-0410-961f-82ee72b054a4>1993-08-11 07:27:10 +0000
committerroland <roland@138bc75d-0d04-0410-961f-82ee72b054a4>1993-08-11 07:27:10 +0000
commit007103c7fab7007e9dc87c05ae4f388e4c0e926c (patch)
treef5395c6262507ec04672ca5e63f4bbc6ac72e1a8 /gcc/alloca.c
parented28fcb6a6e96781e2c79250589bed7e1b8ab1cb (diff)
downloadgcc-007103c7fab7007e9dc87c05ae4f388e4c0e926c.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5132 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alloca.c')
-rw-r--r--gcc/alloca.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/alloca.c b/gcc/alloca.c
index 16f19a27672..367b7fe0377 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 */