changeset 16362:5290dc20c28b

regex: rely on stdint.h for SIZE_MAX * lib/regex_internal.h (SIZE_MAX): Remove; stdint.h supplies this now.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 07 Feb 2012 23:06:43 -0800
parents ab59b5080051
children e89e36252e49
files ChangeLog lib/regex_internal.h
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-07  Paul Eggert  <eggert@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  <eggert@cs.ucla.edu>
 
 	regex: merge glibc changes
--- 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