Skip to content

Commit 92769c3

Browse files
committed
patch 8.0.0366: build fails with tiny features
Problem: Build fails with tiny features. Solution: Add #ifdef.
1 parent 95c526e commit 92769c3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/buffer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,8 +885,10 @@ init_changedtick(buf_T *buf)
885885
di->di_tv.v_lock = VAR_FIXED;
886886
di->di_tv.vval.v_number = 0;
887887

888+
#ifdef FEAT_EVAL
888889
STRCPY(buf->b_ct_di.di_key, "changedtick");
889890
(void)dict_add(buf->b_vars, di);
891+
#endif
890892
}
891893

892894
/*

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
366,
767769
/**/
768770
365,
769771
/**/

0 commit comments

Comments
 (0)