Re: malloc-h: Fix compilation error in C++ mode on Android

2023-01-09 Thread Bruno Haible
I wrote: > + > +#@INCLUDE_NEXT@ @NEXT_MALLOC_H@ > + > +#else > +/* Normal invocation convention. */ > + > +#ifndef _@GUARD_PREFIX@_MALLOC_H > + > +#define _GL_ALREADY_INCLUDING_MALLOC_H > + > /* The include_next requires a split double-inclusion guard. */ > #if @HAVE_MALLOC_H@ > # @INCLUDE_NEX

malloc-h: Fix compilation error in C++ mode on Android

2023-01-09 Thread Bruno Haible
is declared where it should. The problem is merely that a sequence of nested includes causes the declaration to come too late. This patch fixes it. 2023-01-09 Bruno Haible malloc-h: Fix compilation error in C++ mode on Android. * lib/malloc.in.h (_GL_ALREADY_INCLUDING