* lib/realloc.c: #undef realloc if config.h defines it. This fixes a typo that I introduced in 2011-04-08T18:39:[email protected]. Apparently nobody uses Gnulib realloc in that way? --- ChangeLog | 8 ++++++++ lib/realloc.c | 1 + 2 files changed, 9 insertions(+)
diff --git a/ChangeLog b/ChangeLog index 5d91c7acc..9aae007f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2021-04-10 Paul Eggert <[email protected]> + + realloc: fix undef typo + * lib/realloc.c: #undef realloc if config.h defines it. + This fixes a typo that I introduced in + 2011-04-08T18:39:[email protected]. + Apparently nobody uses Gnulib realloc in that way? + 2021-04-07 Bruno Haible <[email protected]> execute tests: Avoid test failure in certain environments. diff --git a/lib/realloc.c b/lib/realloc.c index 51d8d2108..ab027d7f7 100644 --- a/lib/realloc.c +++ b/lib/realloc.c @@ -24,6 +24,7 @@ /* Only the AC_FUNC_REALLOC macro defines 'realloc' already in config.h. */ #ifdef realloc # define NEED_REALLOC_GNU 1 +# undef realloc /* Whereas the gnulib module 'realloc-gnu' defines HAVE_REALLOC_GNU. */ #elif GNULIB_REALLOC_GNU && !HAVE_REALLOC_GNU # define NEED_REALLOC_GNU 1 -- 2.27.0
