Skip to content

Commit 86676c9

Browse files
committed
patch 8.0.1663: cannot build without multi-byte feature
Problem: Cannot build without multi-byte feature. Solution: Add #ifdef.
1 parent 4a69634 commit 86676c9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/ex_docmd.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5308,6 +5308,7 @@ skip_cmd_arg(
53085308
return p;
53095309
}
53105310

5311+
#if defined(FEAT_MBYTE) || defined(PROTO)
53115312
int
53125313
get_bad_opt(char_u *p, exarg_T *eap)
53135314
{
@@ -5319,6 +5320,7 @@ get_bad_opt(char_u *p, exarg_T *eap)
53195320
eap->bad_char = *p;
53205321
return FAIL;
53215322
}
5323+
#endif
53225324

53235325
/*
53245326
* Get "++opt=arg" argument.

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,8 @@ static char *(features[]) =
762762

763763
static int included_patches[] =
764764
{ /* Add new patch number below this line */
765+
/**/
766+
1663,
765767
/**/
766768
1662,
767769
/**/

0 commit comments

Comments
 (0)