Mercurial > gnulib
changeset 34232:124e78e65a25
* lib/progreloc.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Fri, 08 Apr 2011 11:30:47 -0700 |
parents | 39cd7b3c3f75 |
children | fb13b40161fc |
files | ChangeLog lib/progreloc.c |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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 <http://www.gnu.org/licenses/>. */ +#define _GL_USE_STDLIB_ALLOC 1 #include <config.h> /* 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