# HG changeset patch # User Paul Eggert # Date 1302287447 25200 # Node ID 124e78e65a253d09aedf7765658384cf8c81d7f6 # Parent 39cd7b3c3f751fb39c54ea2640b94eceebd0633b * lib/progreloc.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise. diff -r 39cd7b3c3f75 -r 124e78e65a25 ChangeLog --- a/ChangeLog Fri Apr 08 11:14:38 2011 -0700 +++ b/ChangeLog Fri Apr 08 11:30:47 2011 -0700 @@ -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 diff -r 39cd7b3c3f75 -r 124e78e65a25 lib/progreloc.c --- a/lib/progreloc.c Fri Apr 08 11:14:38 2011 -0700 +++ b/lib/progreloc.c Fri Apr 08 11:30:47 2011 -0700 @@ -16,6 +16,7 @@ along with this program. If not, see . */ +#define _GL_USE_STDLIB_ALLOC 1 #include /* Specification. */ @@ -94,7 +95,6 @@ #undef close /* Use the system functions, not the gnulib overrides in this file. */ -#undef malloc #undef sprintf #undef set_program_name