From 86676c949fcec939441620bc747851e315e2702a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 5 Apr 2018 18:56:48 +0200 Subject: patch 8.0.1663: cannot build without multi-byte feature Problem: Cannot build without multi-byte feature. Solution: Add #ifdef. --- src/ex_docmd.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src') 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 @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1663, /**/ 1662, /**/ -- cgit v1.2.1