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-Tag: FILEUTILS-4_0_40~40 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=9cdff964265087265fc455a1c8fbcf507fcd757e;p=thirdparty%2Fcoreutils.git (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 ();