]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.4119: build failure when disabling the channel feature v8.2.4119
authorDominique Pelle <dominique.pelle@gmail.com>
Mon, 17 Jan 2022 11:23:45 +0000 (11:23 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 17 Jan 2022 11:23:45 +0000 (11:23 +0000)
Problem:    Build failure when disabling the channel feature.
Solution:   Adjust #ifdef. (Dominique PellĂ©, closes #9545)

src/misc2.c
src/version.c

index 971fbdf797e813cb68384901e24ccbff5fc86d32..26d3657713c734c8e3d35ec5234fbbc9cb6b62f9 100644 (file)
@@ -2902,7 +2902,6 @@ mch_parse_cmd(char_u *cmd, int use_shcf, char ***argv, int *argc)
     return OK;
 }
 
-# if defined(FEAT_JOB_CHANNEL) || defined(PROTO)
 /*
  * Build "argv[argc]" from the string "cmd".
  * "argv[argc]" is set to NULL;
@@ -2929,6 +2928,7 @@ build_argv_from_string(char_u *cmd, char ***argv, int *argc)
     return OK;
 }
 
+# if defined(FEAT_JOB_CHANNEL) || defined(PROTO)
 /*
  * Build "argv[argc]" from the list "l".
  * "argv[argc]" is set to NULL;
index fe27375c76ab5b7cc3ae822f0751bfde063ad73d..01b8e5d3dc79be11ad5d2b9b45edb74ff9cd2bc6 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4119,
 /**/
     4118,
 /**/