* lib/realloc.c (_GL_USE_STDLIB_ALLOC): Do not define. This
module relies on GNU malloc. This fixes a test failure on AIX 7.1.
2021-04-21 Paul Eggert <eggert@cs.ucla.edu>
+ realloc: port to AIX 7.1
+ * lib/realloc.c (_GL_USE_STDLIB_ALLOC): Do not define. This
+ module relies on GNU malloc. This fixes a test failure on AIX 7.1.
+
malloc: simplify
* lib/malloc.c: Omit unnecessary "#undef malloc".
I recently introduced it by mistake. This module defines
/* written by Jim Meyering and Bruno Haible */
-#define _GL_USE_STDLIB_ALLOC 1
#include <config.h>
#include <stdlib.h>
#include "xalloc-oversized.h"
-/* Call the system's realloc below. */
+/* Call the system's realloc below. This file does not define
+ _GL_USE_STDLIB_ALLOC because it needs Gnulib's malloc if present. */
#undef realloc
/* Change the size of an allocated block of memory P to N bytes,