mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user