From: Bram Moolenaar Date: Sat, 1 Aug 2020 11:22:10 +0000 (+0200) Subject: patch 8.2.1336: build failure on non-Unix systems X-Git-Tag: v8.2.1336 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af50e899e70ee34d5356846afbea7d75701cb22b;p=vim patch 8.2.1336: build failure on non-Unix systems Problem: Build failure on non-Unix systems. Solution: Add #ifdef. --- diff --git a/src/gui.c b/src/gui.c index e4745547d..5d003a38b 100644 --- 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; diff --git a/src/version.c b/src/version.c index 931793ec7..bf22a76d9 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1336, /**/ 1335, /**/