[regex] Provide a default definition of SIZE_MAX

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Tue Dec 6 08:50:00 GMT 2005


regex is currently using SIZE_MAX.  However, first of all this is 
relying on stdint.h being included implicitly (via other headers) 
because that's where SIZE_MAX is defined.  Second, regex cannot rely on 
C99 headers.  This patch fixes this problem by providing a default 
definition of this macro.

Paolo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: undefined-size-max.patch
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20051206/68c72466/attachment.ksh>


More information about the Libc-hacker mailing list