summaryrefslogtreecommitdiff
path: root/lib/alloca.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-02-16 19:28:43 +0000
committerJim Meyering <jim@meyering.net>2001-02-16 19:28:43 +0000
commit9cdff964265087265fc455a1c8fbcf507fcd757e (patch)
tree646dbcf7a520dab19e50adc2ddc190b03e8984ce /lib/alloca.c
parentf77dc12f7fffda878d7243565ccd0aad00539d0a (diff)
downloadcoreutils-9cdff964265087265fc455a1c8fbcf507fcd757e.tar.xz
(malloc): Undef before defining, since stdlib.h may have defined it.
Diffstat (limited to 'lib/alloca.c')
-rw-r--r--lib/alloca.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/alloca.c b/lib/alloca.c
index 55a80677f..836c50319 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 ();