* lib/progreloc.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Apr 2011 18:30:47 +0000 (11:30 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Apr 2011 20:31:41 +0000 (13:31 -0700)
ChangeLog
lib/progreloc.c

index deb8c12..34f6133 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
        * lib/careadlinkat.c (_GL_USE_STDLIB_ALLOC): Define.
        (malloc, realloc): Don't #undef; no longer needed.
        * lib/malloca.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
+       * lib/progreloc.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
 
        careadlinkat: rename members to avoid problem
        * lib/allocator.h (struct allocator): Rename members from
index 0769c5e..4a3fa48 100644 (file)
@@ -16,6 +16,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
+#define _GL_USE_STDLIB_ALLOC 1
 #include <config.h>
 
 /* Specification.  */
@@ -94,7 +95,6 @@ extern char * canonicalize_file_name (const char *name);
 #undef close
 
 /* Use the system functions, not the gnulib overrides in this file.  */
-#undef malloc
 #undef sprintf
 
 #undef set_program_name