From 702f288a1c0d2053385edfe9a47ed0e184a9f1fe Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 16 Feb 2001 19:28:43 +0000 Subject: (malloc): Undef before defining, since stdlib.h may have defined it. --- lib/alloca.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/alloca.c') diff --git a/lib/alloca.c b/lib/alloca.c index 55a80677f7..836c50319d 100644 --- a/lib/alloca.c +++ b/lib/alloca.c @@ -88,6 +88,7 @@ typedef char *pointer; Callers below should use malloc. */ # ifndef emacs +# undef malloc # define malloc xmalloc # endif extern pointer malloc (); -- cgit v1.2.1