]> Savannah Git Hosting - gnulib.git/commit
dynarray: Avoid conflict with preprocessor macros owned by the system.
authorBruno Haible <bruno@clisp.org>
Sun, 6 Jun 2021 22:54:25 +0000 (00:54 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 6 Jun 2021 23:19:32 +0000 (01:19 +0200)
commit0c907f7da13232908f05c415b8cec56024071906
treed5697a2ebb583480d09bf6a1b8577962620232e7
parent82ad8518b7da6e3e9903220715ce950b3a429ebe
dynarray: Avoid conflict with preprocessor macros owned by the system.

* lib/dynarray.h: Don't include <libc-config.h>. Define _GL_LIKELY,
_GL_UNLIKELY. Include malloc/dynarray.gl.h instead of malloc/dynarray.h.
Include malloc/dynarray-skeleton.gl.h instead of
malloc/dynarray-skeleton.c.
* modules/dynarray (Depends-on): Add builtin-expect.
(Makefile.am): Arrange to create malloc/dynarray.gl.h from
malloc/dynarray.h and malloc/dynarray-skeleton.gl.h from
malloc/dynarray-skeleton.c.
ChangeLog
lib/dynarray.h
modules/dynarray