limits-h: other modules can rely on SSIZE_MAX
* lib/areadlink-with-size.c, lib/areadlinkat-with-size.c:
* lib/careadlinkat.c, lib/getdelim.c, lib/getndelim2.c:
+ * lib/regex_internal.h:
(SSIZE_MAX): Do not define.
* modules/areadlink-with-size, modules/areadlinkat-with-size:
* modules/careadlinkat, modules/getdelim, modules/getndelim2:
+ * modules/regex:
(Depends-on) Add limits-h.
limits-h: define SSIZE_MAX
as some non-GCC platforms lack them, an issue when this code is
used in Gnulib. */
-#ifndef SSIZE_MAX
-# define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2))
-#endif
#ifndef ULONG_WIDTH
# define ULONG_WIDTH REGEX_UINTEGER_WIDTH (ULONG_MAX)
/* The number of usable bits in an unsigned integer type with maximum
iswctype [test $ac_use_included_regex = yes]
langinfo [test $ac_use_included_regex = yes]
libc-config [test $ac_use_included_regex = yes]
+limits-h [test $ac_use_included_regex = yes]
lock [test $ac_use_included_regex = yes]
memcmp [test $ac_use_included_regex = yes]
memmove [test $ac_use_included_regex = yes]