changeset 29453:decd0a51b99f v9.0.0068

patch 9.0.0068: build fails with tiny features Commit: https://github.com/vim/vim/commit/fe3fb6e1e6c90e9bada05518a13a72b3fc2f6a98 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 25 18:35:15 2022 +0100 patch 9.0.0068: build fails with tiny features Problem: Build fails with tiny features. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Mon, 25 Jul 2022 19:45:02 +0200
parents 9b6b16b4007e
children f13c7d6be742
files src/charset.c src/version.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.c
+++ b/src/charset.c
@@ -960,10 +960,12 @@ init_chartabsize_arg(
  * Free any allocated item in "cts".
  */
     void
-clear_chartabsize_arg(chartabsize_T *cts)
+clear_chartabsize_arg(chartabsize_T *cts UNUSED)
 {
+#ifdef FEAT_PROP_POPUP
     if (cts->cts_text_prop_count > 0)
 	vim_free(cts->cts_text_props);
+#endif
 }
 
 /*
@@ -1023,7 +1025,9 @@ win_lbr_chartabsize(
 	int		*headp UNUSED)
 {
     win_T	*wp = cts->cts_win;
+#ifdef FEAT_PROP_POPUP
     char_u	*line = cts->cts_line; // start of the line
+#endif
     char_u	*s = cts->cts_ptr;
     colnr_T	vcol = cts->cts_vcol;
 #ifdef FEAT_LINEBREAK
--- a/src/version.c
+++ b/src/version.c
@@ -736,6 +736,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    68,
+/**/
     67,
 /**/
     66,