summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-03-16 21:34:25 +0100
committerBram Moolenaar <Bram@vim.org>2018-03-16 21:34:25 +0100
commit4ac31eeff0409de0b1fe2d9e9f678859656ac4ae (patch)
tree0a167479a203b89891c21a921bb0138f6beb486b
parent135682517bc378cfdb63fe3a6e3553935f69f6ce (diff)
downloadvim-git-4ac31eeff0409de0b1fe2d9e9f678859656ac4ae.tar.gz
patch 8.0.1610: cannot build without GUIv8.0.1610
Problem: Cannot build without GUI. Solution: Add #ifdef.
-rw-r--r--src/terminal.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 89a354175..bff83d24b 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -2735,6 +2735,7 @@ term_line2screenline(VTermScreen *screen, VTermPos *pos, int max_col)
}
}
+#if defined(FEAT_GUI)
static void
update_system_term(term_T *term)
{
@@ -2777,6 +2778,7 @@ update_system_term(term_T *term)
term->tl_dirty_row_end = 0;
update_cursor(term, TRUE);
}
+#endif
/*
* Called to update a window that contains an active terminal.
diff --git a/src/version.c b/src/version.c
index 5f4e2c8a7..eda2a8580 100644
--- a/src/version.c
+++ b/src/version.c
@@ -767,6 +767,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1610,
+/**/
1609,
/**/
1608,