]> Savannah Git Hosting - gnulib.git/commit
scratch_buffer: Avoid conflict with prepr. macros owned by the system.
authorBruno Haible <bruno@clisp.org>
Sun, 6 Jun 2021 22:56:50 +0000 (00:56 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 6 Jun 2021 23:19:32 +0000 (01:19 +0200)
commit469f9f3685c4026e79ccc8f3fb35c3eb25fd3716
treebe3d9caa9a6e740932a68f80c5b7584f08113cdd
parent0c907f7da13232908f05c415b8cec56024071906
scratch_buffer: Avoid conflict with prepr. macros owned by the system.

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