From: Paul Eggert Date: Wed, 8 Feb 2012 07:06:43 +0000 (-0800) Subject: regex: rely on stdint.h for SIZE_MAX X-Git-Tag: v0.1~1164 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=51096a4b0bec26e2e080a3cbfbc6e2e9b9c1ad9d;p=gnulib.git regex: rely on stdint.h for SIZE_MAX * lib/regex_internal.h (SIZE_MAX): Remove; stdint.h supplies this now. --- diff --git a/ChangeLog b/ChangeLog index 9171da19f..932a396df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 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 * lib/regcomp.c (init_dfa): Tighten overflow checks to test diff --git a/lib/regex_internal.h b/lib/regex_internal.h index 714b54cd6..891e1785f 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