diff src/structs.h @ 23062:fa87b0d1277b v8.2.2077

patch 8.2.2077: build failure with small features Commit: https://github.com/vim/vim/commit/a452b808b4da2d272ca4a50865eb8ca89a58f239 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 1 21:47:59 2020 +0100 patch 8.2.2077: build failure with small features Problem: Build failure with small features. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Tue, 01 Dec 2020 22:00:04 +0100
parents 57b6427c18e4
children 43532077b5ff
line wrap: on
line diff
--- a/src/structs.h
+++ b/src/structs.h
@@ -4155,7 +4155,9 @@ typedef struct {
     int		save_finish_op;
     int		save_opcount;
     int		save_reg_executing;
+#ifdef FEAT_EVAL
     int		save_script_version;
+#endif
     tasave_T	tabuf;
 } save_state_T;