From 51096a4b0bec26e2e080a3cbfbc6e2e9b9c1ad9d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 7 Feb 2012 23:06:43 -0800 Subject: [PATCH] regex: rely on stdint.h for SIZE_MAX * 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 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 -- 2.11.0