comparison 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
comparison
equal deleted inserted replaced
11968:cf969ff17a2d 11969:5dc3730de58d
4389 { 4389 {
4390 EMSG2(_(e_invarg2), "exit_cb"); 4390 EMSG2(_(e_invarg2), "exit_cb");
4391 return FAIL; 4391 return FAIL;
4392 } 4392 }
4393 } 4393 }
4394 #ifdef FEAT_TERMINAL
4394 else if (STRCMP(hi->hi_key, "term_name") == 0) 4395 else if (STRCMP(hi->hi_key, "term_name") == 0)
4395 { 4396 {
4396 if (!(supported & JO2_TERM_NAME)) 4397 if (!(supported & JO2_TERM_NAME))
4397 break; 4398 break;
4398 opt->jo_set2 |= JO2_TERM_NAME; 4399 opt->jo_set2 |= JO2_TERM_NAME;
4401 { 4402 {
4402 EMSG2(_(e_invarg2), "term_name"); 4403 EMSG2(_(e_invarg2), "term_name");
4403 return FAIL; 4404 return FAIL;
4404 } 4405 }
4405 } 4406 }
4407 #endif
4406 else if (STRCMP(hi->hi_key, "waittime") == 0) 4408 else if (STRCMP(hi->hi_key, "waittime") == 0)
4407 { 4409 {
4408 if (!(supported & JO_WAITTIME)) 4410 if (!(supported & JO_WAITTIME))
4409 break; 4411 break;
4410 opt->jo_set |= JO_WAITTIME; 4412 opt->jo_set |= JO_WAITTIME;