]> Savannah Git Hosting - gnulib.git/commitdiff
regex: rely on stdint.h for SIZE_MAX
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Feb 2012 07:06:43 +0000 (23:06 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Feb 2012 07:18:04 +0000 (23:18 -0800)
* lib/regex_internal.h (SIZE_MAX): Remove; stdint.h supplies this now.

ChangeLog
lib/regex_internal.h

index 9171da19f62c0bd399d89384c85aa92cff927c4a..932a396df2dec23c62dbe02443302b4d5423e5f9 100644 (file)
--- 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
index 714b54cd67b395fba54f42b33dcf6021e5712ec6..891e1785f77bb851f6db9b8e6b759b98168a0b3e 100644 (file)
 # 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