]> granicus.if.org Git - vim/commitdiff
patch 8.0.0865: cannot build with channel but without terminal feature v8.0.0865
authorBram Moolenaar <Bram@vim.org>
Sat, 5 Aug 2017 13:02:05 +0000 (15:02 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 5 Aug 2017 13:02:05 +0000 (15:02 +0200)
Problem:    Cannot build with channel but without terminal feature.
Solution:   Add #ifdef

src/channel.c
src/version.c

index 801e370cc963a914069bbec126a75e1f11138470..9d791a90574df3850d4bb90071ef599fe649353d 100644 (file)
@@ -4391,6 +4391,7 @@ get_job_options(typval_T *tv, jobopt_T *opt, int supported)
                    return FAIL;
                }
            }
+#ifdef FEAT_TERMINAL
            else if (STRCMP(hi->hi_key, "term_name") == 0)
            {
                if (!(supported & JO2_TERM_NAME))
@@ -4403,6 +4404,7 @@ get_job_options(typval_T *tv, jobopt_T *opt, int supported)
                    return FAIL;
                }
            }
+#endif
            else if (STRCMP(hi->hi_key, "waittime") == 0)
            {
                if (!(supported & JO_WAITTIME))
index 9318740969d8881b09380bd5e896ddd8f3bd42f7..bbbdbe38fffd5b443113f793537ab6dc8b193ede 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    865,
 /**/
     864,
 /**/