1
0
forked from aniani/vim

patch 8.1.1735: can't build with tiny features

Problem:    Can't build with tiny features.
Solution:   Add missing #ifdefs.
This commit is contained in:
Bram Moolenaar
2019-07-22 23:16:33 +02:00
parent 29b7d7a9aa
commit c61a48d259
3 changed files with 19 additions and 13 deletions

View File

@@ -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