summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-08 11:38:38 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-08 13:31:44 -0700
commit0c3b4815cbce7a83b85473f1718cab6049cbffb4 (patch)
tree8fa37728c5eadcd1d9749ba0fdc9cf7764af95bf /lib
parent69c99f3a9936a85640b1e917282512384fc5acad (diff)
downloadgnulib-0c3b4815cbce7a83b85473f1718cab6049cbffb4.tar.gz
* lib/malloc.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
Diffstat (limited to 'lib')
-rw-r--r--lib/malloc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/malloc.c b/lib/malloc.c
index 73c503fac7..ef07f6c427 100644
--- a/lib/malloc.c
+++ b/lib/malloc.c
@@ -18,6 +18,7 @@
/* written by Jim Meyering and Bruno Haible */
+#define _GL_USE_STDLIB_ALLOC 1
#include <config.h>
/* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */
#ifdef malloc
@@ -28,14 +29,10 @@
# define NEED_MALLOC_GNU 1
#endif
-/* Specification. */
#include <stdlib.h>
#include <errno.h>
-/* Call the system's malloc below. */
-#undef malloc
-
/* Allocate an N-byte block of memory from the heap.
If N is zero, allocate a 1-byte block. */