diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-05 18:56:48 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-05 18:56:48 +0200 |
commit | 86676c949fcec939441620bc747851e315e2702a (patch) | |
tree | 3f6ca5a5ddeb4497adb458869a40b424147dcbf9 | |
parent | 4a69634b1b55e06c4bf7f05b54125b1669b1c363 (diff) | |
download | vim-git-86676c949fcec939441620bc747851e315e2702a.tar.gz |
patch 8.0.1663: cannot build without multi-byte featurev8.0.1663
Problem: Cannot build without multi-byte feature.
Solution: Add #ifdef.
-rw-r--r-- | src/ex_docmd.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index b0130046e..046ef3cf5 100644 --- 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 index 4b9761f67..4d19b47b5 100644 --- 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, |