]> granicus.if.org Git - vim/commitdiff
patch 8.2.1336: build failure on non-Unix systems v8.2.1336
authorBram Moolenaar <Bram@vim.org>
Sat, 1 Aug 2020 11:22:10 +0000 (13:22 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 1 Aug 2020 11:22:10 +0000 (13:22 +0200)
Problem:    Build failure on non-Unix systems.
Solution:   Add #ifdef.

src/gui.c
src/version.c

index e4745547dd6ea890fa76da6cae32203cb9e96033..5d003a38b26bd619fed60dde822833c60b8f04b6 100644 (file)
--- a/src/gui.c
+++ b/src/gui.c
@@ -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;
index 931793ec7fe82b87b31ee226cb3937981e799e8b..bf22a76d9cbe24e13e453a2b48ca6d612b3d396d 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1336,
 /**/
     1335,
 /**/