diff src/channel.c @ 11969:5dc3730de58d v8.0.0865

patch 8.0.0865: cannot build with channel but without terminal feature commit https://github.com/vim/vim/commit/8456ea80502d5e0d86309a0051a0cf48df586ed4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 5 15:02:05 2017 +0200 patch 8.0.0865: cannot build with channel but without terminal feature Problem: Cannot build with channel but without terminal feature. Solution: Add #ifdef
author Christian Brabandt <cb@256bit.org>
date Sat, 05 Aug 2017 15:15:04 +0200
parents 12833414cc02
children 701aea3bc68b
line wrap: on
line diff
--- a/src/channel.c
+++ b/src/channel.c
@@ -4391,6 +4391,7 @@ get_job_options(typval_T *tv, jobopt_T *
 		    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 *
 		    return FAIL;
 		}
 	    }
+#endif
 	    else if (STRCMP(hi->hi_key, "waittime") == 0)
 	    {
 		if (!(supported & JO_WAITTIME))