diff options
-rw-r--r-- | support/ChangeLog | 7 | ||||
-rw-r--r-- | support/dynarray.h | 2 |
2 files changed, 9 insertions, 0 deletions
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 <arnold@skeeve.com> + + * 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 <arnold@skeeve.com> 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 |