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:
parent
29b7d7a9aa
commit
c61a48d259
@ -3948,7 +3948,10 @@ get_match(win_T *wp, int id)
|
|||||||
cur = cur->next;
|
cur = cur->next;
|
||||||
return cur;
|
return cur;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(FEAT_EVAL) || defined(PROTO)
|
||||||
|
# ifdef FEAT_SEARCH_EXTRA
|
||||||
static int
|
static int
|
||||||
matchadd_dict_arg(typval_T *tv, char_u **conceal_char, win_T **win)
|
matchadd_dict_arg(typval_T *tv, char_u **conceal_char, win_T **win)
|
||||||
{
|
{
|
||||||
@ -4194,3 +4197,4 @@ f_matchdelete(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
|
|||||||
(int)tv_get_number(&argvars[0]), TRUE);
|
(int)tv_get_number(&argvars[0]), TRUE);
|
||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
@ -1126,7 +1126,6 @@ json_find_end(js_read_T *reader, int options)
|
|||||||
reader->js_used = used_save;
|
reader->js_used = used_save;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* "js_decode()" function
|
* "js_decode()" function
|
||||||
@ -1176,3 +1175,4 @@ f_json_encode(typval_T *argvars, typval_T *rettv)
|
|||||||
rettv->v_type = VAR_STRING;
|
rettv->v_type = VAR_STRING;
|
||||||
rettv->vval.v_string = json_encode(&argvars[0], 0);
|
rettv->vval.v_string = json_encode(&argvars[0], 0);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
@ -777,6 +777,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1735,
|
||||||
/**/
|
/**/
|
||||||
1734,
|
1734,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user