changeset 13472:f6a4614edea4 v8.0.1610

patch 8.0.1610: cannot build without GUI commit https://github.com/vim/vim/commit/4ac31eeff0409de0b1fe2d9e9f678859656ac4ae Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 16 21:34:25 2018 +0100 patch 8.0.1610: cannot build without GUI Problem: Cannot build without GUI. Solution: Add #ifdef.
author Christian Brabandt <cb@256bit.org>
date Fri, 16 Mar 2018 21:45:06 +0100
parents 198769450820
children ba70d254d51f
files src/terminal.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -2735,6 +2735,7 @@ term_line2screenline(VTermScreen *screen
     }
 }
 
+#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.
--- 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,