+2021-02-16 Paul Eggert <eggert@cs.ucla.edu>
+
+ Port better to macOS Mojave
+ Problem reported by Tom Shields in:
+ https://lists.gnu.org/r/bug-gnulib/2021-02/msg00064.html
+ * config/srclist.txt: Comment out dynarray_finalize.c.
+ * lib/dynarray.h (__libc_dynarray_at_failure): Don’t include
+ libc-config.h here, as that’s the includer’s responsibility.
+ * lib/malloc/dynarray_at_failure.c:
+ * lib/malloc/dynarray_emplace_enlarge.c:
+ * lib/malloc/dynarray_finalize.c:
+ * lib/malloc/dynarray_resize.c:
+ * lib/malloc/dynarray_resize_clear.c:
+ If _LIBC is not defined, include libc-config.h.
+
2021-02-15 Bruno Haible <bruno@clisp.org>
linked-list test: Add test for SIGNAL_SAFE_LIST. (It currently fails.)
#$LIBCSRC malloc/dynarray.h lib/malloc
#$LIBCSRC malloc/dynarray_at_failure.c lib/malloc
#$LIBCSRC malloc/dynarray_emplace_enlarge.c lib/malloc
-$LIBCSRC malloc/dynarray_finalize.c lib/malloc
+#$LIBCSRC malloc/dynarray_finalize.c lib/malloc
#$LIBCSRC malloc/dynarray_resize.c lib/malloc
#$LIBCSRC malloc/dynarray_resize_clear.c lib/malloc
$LIBCSRC include/scratch_buffer.h lib/malloc
#ifndef _GL_DYNARRAY_H
#define _GL_DYNARRAY_H
-#include <libc-config.h>
-
#define __libc_dynarray_at_failure gl_dynarray_at_failure
#define __libc_dynarray_emplace_enlarge gl_dynarray_emplace_enlarge
#define __libc_dynarray_finalize gl_dynarray_finalize
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#ifndef _LIBC
+# include <libc-config.h>
+#endif
+
#include <dynarray.h>
#include <stdio.h>
#include <stdlib.h>
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#ifndef _LIBC
+# include <libc-config.h>
+#endif
+
#include <dynarray.h>
#include <errno.h>
#include <intprops.h>
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#ifndef _LIBC
+# include <libc-config.h>
+#endif
+
#include <dynarray.h>
#include <stdlib.h>
#include <string.h>
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#ifndef _LIBC
+# include <libc-config.h>
+#endif
+
#include <dynarray.h>
#include <errno.h>
#include <intprops.h>
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#ifndef _LIBC
+# include <libc-config.h>
+#endif
+
#include <dynarray.h>
#include <string.h>