Ben Pfaff <blp <at> cs.stanford.edu> writes:

> > +[/* Define as the maximum value of type 'size_t', if the system doesn't 
define
> > +   it. */
> > +#ifndef SIZE_MAX
> > +# undef SIZE_MAX
> > +#endif])
> >  ])
> 
> This logic looks wrong.

Taken out of context, yes, it looks wrong.  Which is why Bruno also added this 
comment, to explain things:

+  dnl Don't redefine SIZE_MAX in config.h if config.h is re-included after
+  dnl <stdint.h>. Remember that the #undef in AH_VERBATIM gets replaced with
+  dnl #define by AC_DEFINE_UNQUOTED.

The patch is correct as-is.

-- 
Eric Blake





Reply via email to