]> granicus.if.org Git - vim/commitdiff
patch 8.0.1663: cannot build without multi-byte feature v8.0.1663
authorBram Moolenaar <Bram@vim.org>
Thu, 5 Apr 2018 16:56:48 +0000 (18:56 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 5 Apr 2018 16:56:48 +0000 (18:56 +0200)
Problem:    Cannot build without multi-byte feature.
Solution:   Add #ifdef.

src/ex_docmd.c
src/version.c

index b0130046e14e5f1fbb361e583c5dc76c32766c16..046ef3cf5d8a6ce682b15efd9cca472c7af3d494 100644 (file)
@@ -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.
index 4b9761f675213db84a38d72bbfa6c7bcd4a3802e..4d19b47b5d38142aadcbc47eba912bd1f7ca440b 100644 (file)
@@ -762,6 +762,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1663,
 /**/
     1662,
 /**/