* lib/regex_internal.h (SIZE_MAX): Remove; stdint.h supplies this now. --- ChangeLog | 5 +++++ lib/regex_internal.h | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog index 9171da1..932a396 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2012-02-07 Paul Eggert <egg...@cs.ucla.edu> + 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 <egg...@cs.ucla.edu> + regex: merge glibc changes * lib/regcomp.c (init_dfa): Tighten overflow checks to test diff --git a/lib/regex_internal.h b/lib/regex_internal.h index 714b54c..891e178 100644 --- a/lib/regex_internal.h +++ b/lib/regex_internal.h @@ -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 -- 1.7.6.5