diff 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
line wrap: on
line diff
--- a/src/gui.c
+++ b/src/gui.c
@@ -5588,7 +5588,10 @@ check_for_interrupt(int key, int modifie
     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;