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
commit6c5c8bbecea1f59f3ac2c7859e7a680da9008d2d (patch)
treeb98f871a13c3a10dcabdf78a5aecedc90ff4254a /src/alloca.c
parentb0787891e72dd0bf94863e5ca196578c124739f7 (diff)
downloademacs-6c5c8bbecea1f59f3ac2c7859e7a680da9008d2d.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 */