summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-25 15:41:37 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-25 15:41:37 +0100
commit92769c3928bb8a3faa43c533c07ef8476af32ade (patch)
treebf77417732018867fb4f26e30000ec27ba70e77d
parent95c526e1f6d76acafee4b21f5701d6d6ac8c4b5f (diff)
downloadvim-92769c3928bb8a3faa43c533c07ef8476af32ade.zip
patch 8.0.0366: build fails with tiny features
Problem: Build fails with tiny features. Solution: Add #ifdef.
-rw-r--r--src/buffer.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 73af50a7a..6edb48a6f 100644
--- 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
}
/*
diff --git a/src/version.c b/src/version.c
index d80a0ea01..7e6438c57 100644
--- 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,