Paul Eggert wrote: > Bruno Haible <[EMAIL PROTECTED]> writes: > >> 2) I use the size_max module inside gettext's libintl, and a full-blown >> <stdint.h> feels like overkill in this case, when we just need one macro. > > I'd been assuming that the stdint module would be modified to depend > on size_max, to cater to people who need SIZE_MAX but not all of > stdint.h.
It sounds reasonable to leave size_max in for those who want it, but is it really necessary to make stdint depend on it? All that extra work by configure sounds like overkill too, when stdint_.h has already included <stddef.h> and so the current code from stdint_.h suffices: #ifndef SIZE_MAX /* SIZE_MAX may also be defined in config.h. */ # define SIZE_MAX ((size_t)~(size_t)0) #endif Regards, Derek -- Derek R. Price CVS Solutions Architect Ximbiot <http://ximbiot.com> v: +1 248.835.1260 f: +1 248.835.1263 <[EMAIL PROTECTED]>