Permalink
Browse files

patch 8.0.0366: build fails with tiny features

Problem:    Build fails with tiny features.
Solution:   Add #ifdef.
  • Loading branch information...
brammool committed Feb 25, 2017
1 parent 95c526e commit 92769c3928bb8a3faa43c533c07ef8476af32ade
Showing with 4 additions and 0 deletions.
  1. +2 −0 src/buffer.c
  2. +2 −0 src/version.c
View
@@ -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
}
/*
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 366,
/**/
365,
/**/

0 comments on commit 92769c3

Please sign in to comment.