summaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-11-04 20:35:31 +0100
committerBram Moolenaar <Bram@vim.org>2016-11-04 20:35:31 +0100
commitde5e2c219b99895445fb75ae3541ee69282a5846 (patch)
tree66c568296d890abef12e5d04f7e62256e28b45e1 /src/json.c
parent91e44a3305ef6bf2d43496c351dcff0a45c6bfb8 (diff)
downloadvim-git-de5e2c219b99895445fb75ae3541ee69282a5846.tar.gz
patch 8.0.0059v8.0.0059
Problem: Vim does not build on VMS systems. Solution: Various changes for VMS. (Zoltan Arpadffy)
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/json.c b/src/json.c
index 36d47aa99..7c1181ca5 100644
--- 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);