0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.0.1663: cannot build without multi-byte feature

Problem:    Cannot build without multi-byte feature.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2018-04-05 18:56:48 +02:00
parent 4a69634b1b
commit 86676c949f
2 changed files with 4 additions and 0 deletions

View File

@@ -5308,6 +5308,7 @@ skip_cmd_arg(
return p;
}
#if defined(FEAT_MBYTE) || defined(PROTO)
int
get_bad_opt(char_u *p, exarg_T *eap)
{
@@ -5319,6 +5320,7 @@ get_bad_opt(char_u *p, exarg_T *eap)
eap->bad_char = *p;
return FAIL;
}
#endif
/*
* Get "++opt=arg" argument.

View File

@@ -762,6 +762,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1663,
/**/
1662,
/**/