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
commit702f288a1c0d2053385edfe9a47ed0e184a9f1fe (patch)
tree3b8bfb690f4753a226d581ade1b07471c89b25a8 /lib/alloca.c
parent24f416d4b24f303118eb06b5720a890efbdf7462 (diff)
downloadgnulib-702f288a1c0d2053385edfe9a47ed0e184a9f1fe.tar.gz
(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 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 ();