summaryrefslogtreecommitdiff
path: root/alloca.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-08-11 07:27:10 +0000
committerRoland McGrath <roland@redhat.com>1993-08-11 07:27:10 +0000
commit869ec1b8775bc5ec86c39470e086e702873b3444 (patch)
tree73ef8a77cabf0965b594eb0ad52fc76760004971 /alloca.c
parent3cc0c7306a0cc7098e86e8310fb05fca0fd04a03 (diff)
downloadgunmake-869ec1b8775bc5ec86c39470e086e702873b3444.tar.gz
*** empty log message ***
Diffstat (limited to 'alloca.c')
-rw-r--r--alloca.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/alloca.c b/alloca.c
index 16f19a2..367b7fe 100644
--- a/alloca.c
+++ b/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 */