(malloc): Undef before defining, since stdlib.h may have defined it.
authorJim Meyering <jim@meyering.net>
Fri, 16 Feb 2001 19:28:43 +0000 (19:28 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 16 Feb 2001 19:28:43 +0000 (19:28 +0000)
lib/alloca.c

index 55a8067..836c503 100644 (file)
@@ -88,6 +88,7 @@ typedef char *pointer;
    Callers below should use malloc.  */
 
 #  ifndef emacs
+#   undef malloc
 #   define malloc xmalloc
 #  endif
 extern pointer malloc ();