Mercurial > vim
comparison src/buffer.c @ 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 | 835604f3c37a |
children | e71d3bdf3bc3 |
comparison
equal
deleted
inserted
replaced
10953:2c46acc89474 | 10954:8ff62b4cffae |
---|---|
883 di->di_flags = DI_FLAGS_FIX | DI_FLAGS_RO; | 883 di->di_flags = DI_FLAGS_FIX | DI_FLAGS_RO; |
884 di->di_tv.v_type = VAR_NUMBER; | 884 di->di_tv.v_type = VAR_NUMBER; |
885 di->di_tv.v_lock = VAR_FIXED; | 885 di->di_tv.v_lock = VAR_FIXED; |
886 di->di_tv.vval.v_number = 0; | 886 di->di_tv.vval.v_number = 0; |
887 | 887 |
888 #ifdef FEAT_EVAL | |
888 STRCPY(buf->b_ct_di.di_key, "changedtick"); | 889 STRCPY(buf->b_ct_di.di_key, "changedtick"); |
889 (void)dict_add(buf->b_vars, di); | 890 (void)dict_add(buf->b_vars, di); |
891 #endif | |
890 } | 892 } |
891 | 893 |
892 /* | 894 /* |
893 * Free stuff in the buffer for ":bdel" and when wiping out the buffer. | 895 * Free stuff in the buffer for ":bdel" and when wiping out the buffer. |
894 */ | 896 */ |