diff src/json.c @ 10328:299f1669c20e v8.0.0059

commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 4 20:35:31 2016 +0100 patch 8.0.0059 Problem: Vim does not build on VMS systems. Solution: Various changes for VMS. (Zoltan Arpadffy)
author Christian Brabandt <cb@256bit.org>
date Fri, 04 Nov 2016 20:45:04 +0100
parents 7b2f95633e28
children e70ff5756201
line wrap: on
line diff
--- a/src/json.c
+++ b/src/json.c
@@ -16,6 +16,10 @@
 
 #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);