projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
strtoimax: Avoid link error on OSF/1 with DTK cc.
[gnulib.git]
/
lib
/
malloc.c
diff --git
a/lib/malloc.c
b/lib/malloc.c
index
73c503f
..
ef07f6c
100644
(file)
--- a/
lib/malloc.c
+++ b/
lib/malloc.c
@@
-18,6
+18,7
@@
/* written by Jim Meyering and Bruno Haible */
/* 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
#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
# define NEED_MALLOC_GNU 1
#endif
-/* Specification. */
#include <stdlib.h>
#include <errno.h>
#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. */
/* Allocate an N-byte block of memory from the heap.
If N is zero, allocate a 1-byte block. */