summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libguile/ChangeLog5
-rw-r--r--libguile/eval.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/libguile/ChangeLog b/libguile/ChangeLog
index 181681961..e972110a6 100644
--- a/libguile/ChangeLog
+++ b/libguile/ChangeLog
@@ -1,3 +1,8 @@
+Tue Feb 4 18:17:50 1997 Tom Tromey <tromey@cygnus.com>
+
+ * eval.c: Don't define alloca in GCC case. gcc will automatically
+ use __builtin_alloca if appropriate.
+
Tue Feb 4 16:57:40 1997 Jim Blandy <jimb@floss.cyclic.com>
* eval.c (safe_setjmp): New function: trivial wrapper for setjmp.
diff --git a/libguile/eval.c b/libguile/eval.c
index 1869051f0..bf7581e54 100644
--- a/libguile/eval.c
+++ b/libguile/eval.c
@@ -57,9 +57,7 @@
/* AIX requires this to be the first thing in the file. The #pragma
directive is indented so pre-ANSI compilers will ignore it, rather
than choke on it. */
-#ifdef __GNUC__
-# define alloca __builtin_alloca
-#else
+#ifndef __GNUC__
# if HAVE_ALLOCA_H
# include <alloca.h>
# else