changeset 14545:4fafdd043aff

* lib/relocwrapper.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 08 Apr 2011 11:37:24 -0700
parents 200f38f9a66b
children a793bed5698a
files ChangeLog lib/relocwrapper.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
 	* lib/setenv.c (_GL_USE_STDLIB_ALLOC, malloc, realloc): Likewise.
 	* lib/canonicalize-lgpl.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
 	* lib/relocatable.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
+	* lib/relocwrapper.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
 
 	careadlinkat: rename members to avoid problem
 	* lib/allocator.h (struct allocator): Rename members from
--- a/lib/relocwrapper.c
+++ b/lib/relocwrapper.c
@@ -43,6 +43,7 @@
    libc functions, no gettext(), no error(), no xmalloc(), no xsetenv().
  */
 
+#define _GL_USE_STDLIB_ALLOC 1
 #include <config.h>
 
 #include <stdio.h>
@@ -58,7 +59,6 @@
 
 /* Use the system functions, not the gnulib overrides in this file.  */
 #undef fprintf
-#undef malloc
 
 /* Return a copy of the filename, with an extra ".bin" at the end.
    More generally, it replaces "${EXEEXT}" at the end with ".bin${EXEEXT}".  */