# HG changeset patch # User Bram Moolenaar # Date 1596281405 -7200 # Node ID e9954158a9cf358784048bf7d210c0bf1530b89f # Parent c561ab810dcd2e787391842fedb7162ae90166b6 patch 8.2.1336: build failure on non-Unix systems Commit: https://github.com/vim/vim/commit/af50e899e70ee34d5356846afbea7d75701cb22b Author: Bram Moolenaar 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. diff --git a/src/gui.c b/src/gui.c --- 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; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1336, +/**/ 1335, /**/ 1334,