1
0
forked from aniani/vim

patch 8.2.1336: build failure on non-Unix systems

Problem:    Build failure on non-Unix systems.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar 2020-08-01 13:22:10 +02:00
parent 4e1d8bd79b
commit af50e899e7
2 changed files with 6 additions and 1 deletions

View File

@ -5588,7 +5588,10 @@ check_for_interrupt(int key, int modifiers_arg)
int c = merge_modifyOtherKeys(key, &modifiers); int c = merge_modifyOtherKeys(key, &modifiers);
if ((c == Ctrl_C && ctrl_c_interrupts) if ((c == Ctrl_C && ctrl_c_interrupts)
|| (intr_char != Ctrl_C && c == intr_char)) #ifdef UNIX
|| (intr_char != Ctrl_C && c == intr_char)
#endif
)
{ {
got_int = TRUE; got_int = TRUE;
return c; return c;

View File

@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1336,
/**/ /**/
1335, 1335,
/**/ /**/