From: Jim Meyering Date: Fri, 16 Feb 2001 19:28:43 +0000 (+0000) Subject: (malloc): Undef before defining, since stdlib.h may have defined it. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=702f288a1c0d2053385edfe9a47ed0e184a9f1fe;p=pspp (malloc): Undef before defining, since stdlib.h may have defined it. --- 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 ();