On Fri, Oct 30, 2026 at 11:58:31AM +0000, Sam James wrote:
> Kael Andrew Franco <[email protected]> writes:
>
> > Send as https://gcc.gnu.org/pipermail/gcc-patches/2026-October/736872.html
>
> This doesn't look like Jakub's suggestion. I don't think we want to
> define HAVE_* in libiberty.h if we can avoid it, better to avoid the
> need to define it instead.
I'd keep the define for C, libiberty is used in other code too, and
libiberty itself is in C. Just ignore the macro for C++11.
Yes, you need to change two hunks instead of adding one, but you won't
pollute the C++ users of the header with such a macro.
Jakub