changeset 10954:8ff62b4cffae v8.0.0366

patch 8.0.0366: build fails with tiny features commit https://github.com/vim/vim/commit/92769c3928bb8a3faa43c533c07ef8476af32ade Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 25 15:41:37 2017 +0100 patch 8.0.0366: build fails with tiny features Problem: Build fails with tiny features. Solution: Add #ifdef.
author Christian Brabandt <cb@256bit.org>
date Sat, 25 Feb 2017 15:45:03 +0100
parents 2c46acc89474
children a555c11b59a9
files src/buffer.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -885,8 +885,10 @@ init_changedtick(buf_T *buf)
     di->di_tv.v_lock = VAR_FIXED;
     di->di_tv.vval.v_number = 0;
 
+#ifdef FEAT_EVAL
     STRCPY(buf->b_ct_di.di_key, "changedtick");
     (void)dict_add(buf->b_vars, di);
+#endif
 }
 
 /*
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    366,
+/**/
     365,
 /**/
     364,