]> granicus.if.org Git - vim/commitdiff
patch 8.0.1610: cannot build without GUI v8.0.1610
authorBram Moolenaar <Bram@vim.org>
Fri, 16 Mar 2018 20:34:25 +0000 (21:34 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 16 Mar 2018 20:34:25 +0000 (21:34 +0100)
Problem:    Cannot build without GUI.
Solution:   Add #ifdef.

src/terminal.c
src/version.c

index 89a354175fc06c7fea345483984464438f559d08..bff83d24b9eb1f6a19db01020d0d16068a576f7e 100644 (file)
@@ -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.
index 5f4e2c8a7b88af7d0a3df5f13ec3ab794aa83cb9..eda2a8580d1daa9f9fb245bf03ada2219121b25d 100644 (file)
@@ -766,6 +766,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1610,
 /**/
     1609,
 /**/