On Sun, Jan 31, 2021 at 07:07:32PM +0100, Eric Botcazou wrote:
> > Why not just:
> > 
> > #ifndef SIZE_MAX
> > # define SIZE_MAX INTTYPE_MAXIMUM (size_t)
> > #endif
> > 
> > just below UCHAR_MAX in system.h?
> 
> Or rather just below
> 
> #ifdef HAVE_STDINT_H
> #include <stdint.h>
> #endif
> 
> #ifdef HAVE_INTTYPES_H
> #include <inttypes.h>
> #endif

If it doesn't break anything (note, there can be system headers included
even after this spot), why not.

Note, it now affects GCC 10 branch too.

        Jakub

Reply via email to