# HG changeset patch # User Paul Eggert # Date 1328684803 28800 # Node ID 5290dc20c28b82c81103f12b5c92884aa0b58cce # Parent ab59b50800513a34a5f06b801b720484d3db53f9 regex: rely on stdint.h for SIZE_MAX * lib/regex_internal.h (SIZE_MAX): Remove; stdint.h supplies this now. diff -r ab59b5080051 -r 5290dc20c28b ChangeLog --- a/ChangeLog Tue Feb 07 22:47:01 2012 -0800 +++ b/ChangeLog Tue Feb 07 23:06:43 2012 -0800 @@ -1,3 +1,8 @@ +2012-02-07 Paul Eggert + + regex: rely on stdint.h for SIZE_MAX + * lib/regex_internal.h (SIZE_MAX): Remove; stdint.h supplies this now. + 2012-02-07 Paul Eggert regex: merge glibc changes diff -r ab59b5080051 -r 5290dc20c28b lib/regex_internal.h --- a/lib/regex_internal.h Tue Feb 07 22:47:01 2012 -0800 +++ b/lib/regex_internal.h Tue Feb 07 23:06:43 2012 -0800 @@ -76,11 +76,6 @@ # define gettext_noop(String) String #endif -/* For loser systems without the definition. */ -#ifndef SIZE_MAX -# define SIZE_MAX ((size_t) -1) -#endif - #if (defined MB_CUR_MAX && HAVE_WCTYPE_H && HAVE_ISWCTYPE && HAVE_WCSCOLL) || _LIBC # define RE_ENABLE_I18N #endif