summaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-22 23:16:33 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-22 23:16:33 +0200
commitc61a48d25995e5ee2a3813f64c531b91bb23e9b9 (patch)
tree830a49b721d71dcb58b67a243e886cff90416f27 /src/json.c
parent29b7d7a9aac591f920edb89241c8cde27378e50b (diff)
downloadvim-git-c61a48d25995e5ee2a3813f64c531b91bb23e9b9.tar.gz
patch 8.1.1735: can't build with tiny featuresv8.1.1735
Problem: Can't build with tiny features. Solution: Add missing #ifdefs.
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c
index c9a6230d2..2a5b5e482 100644
--- a/src/json.c
+++ b/src/json.c
@@ -1126,7 +1126,6 @@ json_find_end(js_read_T *reader, int options)
reader->js_used = used_save;
return ret;
}
-#endif
/*
* "js_decode()" function
@@ -1176,3 +1175,4 @@ f_json_encode(typval_T *argvars, typval_T *rettv)
rettv->v_type = VAR_STRING;
rettv->vval.v_string = json_encode(&argvars[0], 0);
}
+#endif