From dbe767085787f5fdec183749a86c279a28676cc8 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Thu, 14 Oct 2010 15:52:47 +0200 Subject: Update gnulib files. --- gl/realloc.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gl/realloc.c') diff --git a/gl/realloc.c b/gl/realloc.c index 36aeecc41b..053208f375 100644 --- a/gl/realloc.c +++ b/gl/realloc.c @@ -23,11 +23,14 @@ /* Only the AC_FUNC_REALLOC macro defines 'realloc' already in config.h. */ #ifdef realloc # define NEED_REALLOC_GNU 1 +/* Whereas the gnulib module 'realloc-gnu' defines HAVE_REALLOC_GNU. */ +#elif GNULIB_REALLOC_GNU && !HAVE_REALLOC_GNU +# define NEED_REALLOC_GNU 1 #endif /* Infer the properties of the system's malloc function. - Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */ -#if GNULIB_MALLOC_GNU && !defined malloc + The gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */ +#if GNULIB_MALLOC_GNU && HAVE_MALLOC_GNU # define SYSTEM_MALLOC_GLIBC_COMPATIBLE 1 #endif -- cgit v1.2.1