diff options
author | Ludovic Courtès <ludo@gnu.org> | 2010-09-04 15:16:35 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2010-09-04 15:16:35 +0200 |
commit | 9157d901024558ca2cb2a59d21f26b7f897714cd (patch) | |
tree | f6174b78e2213e49df81a47417f83ca6c1c8807b /lib/malloc.c | |
parent | fb0b64c12a40529a03c22481570a11457076b7f9 (diff) | |
download | guile-9157d901024558ca2cb2a59d21f26b7f897714cd.tar.gz |
Use Gnulib's `stat-time' module; update Gnulib.
This updates Gnulib files to v0.0-4207-gc82b481.
* m4/gnulib-cache.m4: Add `stat-time'.
Diffstat (limited to 'lib/malloc.c')
-rw-r--r-- | lib/malloc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/malloc.c b/lib/malloc.c index 614320c43..c8d76c335 100644 --- a/lib/malloc.c +++ b/lib/malloc.c @@ -21,8 +21,11 @@ #include <config.h> /* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */ #ifdef malloc -# define NEED_MALLOC_GNU +# define NEED_MALLOC_GNU 1 # undef malloc +/* Whereas the gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */ +#elif GNULIB_MALLOC_GNU && !HAVE_MALLOC_GNU +# define NEED_MALLOC_GNU 1 #endif /* Specification. */ @@ -41,7 +44,7 @@ rpl_malloc (size_t n) { void *result; -#ifdef NEED_MALLOC_GNU +#if NEED_MALLOC_GNU if (n == 0) n = 1; #endif |