# HG changeset patch # User Christian Brabandt # Date 1488033903 -3600 # Node ID 8ff62b4cffaedc9575a7ba3901c9228d6c8ee24e # Parent 2c46acc89474c49e2f6d344aa3d3d382812bd773 patch 8.0.0366: build fails with tiny features commit https://github.com/vim/vim/commit/92769c3928bb8a3faa43c533c07ef8476af32ade Author: Bram Moolenaar 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. diff --git a/src/buffer.c b/src/buffer.c --- 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 --- 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,