From 8549d37a103839d24d8c89ec00ffcfd42f6a6952 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 23 Apr 2021 11:41:27 +0300 Subject: Yet another gnulib fix. --- support/ChangeLog | 7 +++++++ support/dynarray.h | 2 ++ 2 files changed, 9 insertions(+) (limited to 'support') diff --git a/support/ChangeLog b/support/ChangeLog index 7050d5e0..54f51fcc 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,3 +1,10 @@ +2021-04-22 Arnold D. Robbins + + * dynarray.h: Don't redefine libc interfaces to gnulib + interfaces. Needed on at least one Ubuntu 18.04 system, don't + know why, when on other such systems things work. GLIBC + is a swamp. Sigh. + 2021-04-21 Arnold D. Robbins Don't depend upon GLIBC private interfaces. Thanks to diff --git a/support/dynarray.h b/support/dynarray.h index 9a8d3956..ba2bc2ed 100644 --- a/support/dynarray.h +++ b/support/dynarray.h @@ -248,12 +248,14 @@ static DYNARRAY_ELEMENT * /* The implementation is imported from glibc. */ +#ifndef GAWK /* Avoid possible conflicts with symbols exported by the GNU libc. */ #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 #define __libc_dynarray_resize_clear gl_dynarray_resize_clear #define __libc_dynarray_resize gl_dynarray_resize +#endif #if defined DYNARRAY_STRUCT || defined DYNARRAY_ELEMENT || defined DYNARRAY_PREFIX -- cgit v1.2.3