Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
patch 8.0.1663: cannot build without multi-byte feature
Problem:    Cannot build without multi-byte feature.
Solution:   Add #ifdef.
  • Loading branch information
brammool committed Apr 5, 2018
1 parent 4a69634 commit 86676c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ex_docmd.c
Expand Up @@ -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)
{
Expand All @@ -5319,6 +5320,7 @@ get_bad_opt(char_u *p, exarg_T *eap)
eap->bad_char = *p;
return FAIL;
}
#endif

/*
* Get "++opt=arg" argument.
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -762,6 +762,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1663,
/**/
1662,
/**/
Expand Down

0 comments on commit 86676c9

Please sign in to comment.