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:
parent
4e1d8bd79b
commit
af50e899e7
@ -5588,7 +5588,10 @@ check_for_interrupt(int key, int modifiers_arg)
|
||||
int c = merge_modifyOtherKeys(key, &modifiers);
|
||||
|
||||
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;
|
||||
return c;
|
||||
|
@ -754,6 +754,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1336,
|
||||
/**/
|
||||
1335,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user