diff --git a/libguile/alloca.c b/libguile/alloca.c index b36c32aec..8ce381790 100644 --- a/libguile/alloca.c +++ b/libguile/alloca.c @@ -25,9 +25,6 @@ #include #endif -#define malloc(size) (scm_must_malloc ((size), "alloca emulation")) -extern char *scm_must_malloc (); - #ifdef HAVE_STRING_H #include #endif @@ -207,7 +204,10 @@ alloca (size) /* Address of header. */ if (new == 0) - abort(); + { + write (2, "alloca emulation: out of memory\n", 32); + abort(); + } ((header *) new)->h.next = last_alloca_header; ((header *) new)->h.deep = depth;