comparison src/gui.c @ 21572:e9954158a9cf v8.2.1336

patch 8.2.1336: build failure on non-Unix systems Commit: https://github.com/vim/vim/commit/af50e899e70ee34d5356846afbea7d75701cb22b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 1 13:22:10 2020 +0200 patch 8.2.1336: build failure on non-Unix systems Problem: Build failure on non-Unix systems. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Aug 2020 13:30:05 +0200
parents f260c1411833
children 35921b7fc07a
comparison
equal deleted inserted replaced
21571:c561ab810dcd 21572:e9954158a9cf
5586 { 5586 {
5587 int modifiers = modifiers_arg; 5587 int modifiers = modifiers_arg;
5588 int c = merge_modifyOtherKeys(key, &modifiers); 5588 int c = merge_modifyOtherKeys(key, &modifiers);
5589 5589
5590 if ((c == Ctrl_C && ctrl_c_interrupts) 5590 if ((c == Ctrl_C && ctrl_c_interrupts)
5591 || (intr_char != Ctrl_C && c == intr_char)) 5591 #ifdef UNIX
5592 || (intr_char != Ctrl_C && c == intr_char)
5593 #endif
5594 )
5592 { 5595 {
5593 got_int = TRUE; 5596 got_int = TRUE;
5594 return c; 5597 return c;
5595 } 5598 }
5596 return NUL; 5599 return NUL;