Mercurial > vim
diff src/json.c @ 17474:f8c197962c1e v8.1.1735
patch 8.1.1735: can't build with tiny features
commit https://github.com/vim/vim/commit/c61a48d25995e5ee2a3813f64c531b91bb23e9b9
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 22 23:16:33 2019 +0200
patch 8.1.1735: can't build with tiny features
Problem: Can't build with tiny features.
Solution: Add missing #ifdefs.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 22 Jul 2019 23:30:05 +0200 |
parents | dfd87ef822aa |
children | 0f7ae8010787 |
line wrap: on
line diff
--- a/src/json.c +++ b/src/json.c @@ -1126,7 +1126,6 @@ json_find_end(js_read_T *reader, int opt reader->js_used = used_save; return ret; } -#endif /* * "js_decode()" function @@ -1176,3 +1175,4 @@ f_json_encode(typval_T *argvars, typval_ rettv->v_type = VAR_STRING; rettv->vval.v_string = json_encode(&argvars[0], 0); } +#endif