Mercurial > vim
changeset 13581:82390bf72374 v8.0.1663
patch 8.0.1663: cannot build without multi-byte feature
commit https://github.com/vim/vim/commit/86676c949fcec939441620bc747851e315e2702a
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 05 Apr 2018 19:00:09 +0200 |
parents | f3ef984f6e70 |
children | f6936cd9126e |
files | src/ex_docmd.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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.