[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thu, 21 May 2009 17:13:28 +0000 (UTC)
Ben Pfaff <blp <at> cs.stanford.edu> writes:
> > +[/* Define as the maximum value of type 'size_t', if the system doesn't
> > + 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.