# HG changeset patch # User Christian Brabandt # Date 1522947609 -7200 # Node ID 82390bf7237413e03efba137699be39c899c2c38 # Parent f3ef984f6e70402593adc1e4f8864e012843dc8e patch 8.0.1663: cannot build without multi-byte feature commit https://github.com/vim/vim/commit/86676c949fcec939441620bc747851e315e2702a Author: Bram Moolenaar Date: Thu Apr 5 18:56:48 2018 +0200 patch 8.0.1663: cannot build without multi-byte feature Problem: Cannot build without multi-byte feature. Solution: Add #ifdef. diff --git a/src/ex_docmd.c b/src/ex_docmd.c --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -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. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1663, +/**/ 1662, /**/ 1661,