Problem: VMS has a problem with infinity.
Solution: Avoid an overflow. (Zoltan Arpadffy)
#include "vim.h"
-#ifdef VAX
-# undef FEAT_FLOAT // VAX does not handle well the Infinities
-#endif
-
#if defined(FEAT_EVAL) || defined(PROTO)
static int json_encode_item(garray_T *gap, typval_T *val, int copyID, int options);
# endif
# if !defined(INFINITY)
# if defined(DBL_MAX)
-# define INFINITY (DBL_MAX+DBL_MAX)
+# ifdef VMS
+# define INFINITY DBL_MAX
+# else
+# define INFINITY (DBL_MAX+DBL_MAX)
+# endif
# else
# define INFINITY (1.0 / 0.0)
# endif
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 67,
/**/
66,
/**/