diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-01 13:22:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-01 13:22:10 +0200 |
commit | af50e899e70ee34d5356846afbea7d75701cb22b (patch) | |
tree | c913336cad923a4c29c87a977caf46780bda09a3 | |
parent | 4e1d8bd79b87b120bd40afe0eba54a419f8c3aee (diff) | |
download | vim-git-af50e899e70ee34d5356846afbea7d75701cb22b.tar.gz |
patch 8.2.1336: build failure on non-Unix systemsv8.2.1336
Problem: Build failure on non-Unix systems.
Solution: Add #ifdef.
-rw-r--r-- | src/gui.c | 5 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1336, +/**/ 1335, /**/ 1334, |