Problem: Compile error when SIZE_MAX is not defined
Solution: Define SIZE_MAX (Zoltan Arpadffy)
related: #16962
Signed-off-by: Zoltan Arpadffy <zoltan.arpadffy@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1234,
/**/
1233,
/**/
# endif
#endif
+// C89 does not define SIZE_MAX
+#if defined(__hpux) || defined(VMS)
+# ifndef SIZE_MAX
+# define SIZE_MAX ((size_t)(-1))
+# endif
+#endif
+
// user ID of root is usually zero, but not for everybody
#ifdef __TANDEM
# ifndef _TANDEM_SOURCE