summaryrefslogtreecommitdiff
path: root/src/alloca.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1993-08-11 07:27:10 +0000
committerRoland McGrath <roland@gnu.org>1993-08-11 07:27:10 +0000
commit0280e68d6341a89357dfc390fa98aeeec1362c2c (patch)
treed41e1be0a776cbec56d626bae47292a47cd291c1 /src/alloca.c
parentcaa82e6752f54888ddac7fd9973e3c7b7ec43cb5 (diff)
downloademacs-0280e68d6341a89357dfc390fa98aeeec1362c2c.tar.gz
*** empty log message ***
Diffstat (limited to 'src/alloca.c')
-rw-r--r--src/alloca.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/alloca.c b/src/alloca.c
index 16f19a27672..367b7fe0377 100644
--- a/src/alloca.c
+++ b/src/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 */