diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-24 17:05:56 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-24 17:05:56 +0100 |
commit | 0af2ecfe4474be3a83d75b1d636bfdf6b27bbc92 (patch) | |
tree | 8bbb57223163f680220a7ab55ce352dc3fc7549b | |
parent | 5fb3aabc2b0edd5573e107bb3bc103c348771f61 (diff) | |
download | vim-git-0af2ecfe4474be3a83d75b1d636bfdf6b27bbc92.tar.gz |
patch 9.0.0255: build failure without the eval featurev9.0.0255
Problem: Build failure without the eval feature.
Solution: Add #ifdef.
-rw-r--r-- | src/scriptfile.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/scriptfile.c b/src/scriptfile.c index 48e475bea..bb307561d 100644 --- a/src/scriptfile.c +++ b/src/scriptfile.c @@ -1775,6 +1775,7 @@ almosttheend: apply_autocmds(EVENT_SOURCEPOST, fname_exp, fname_exp, FALSE, curbuf); theend: +#ifdef FEAT_EVAL if (sid > 0 && ret_sid != NULL && fname_not_fixed != NULL && fname_exp != NULL) { @@ -1786,6 +1787,7 @@ theend: if (SCRIPT_ID_VALID(not_fixed_sid) && not_fixed_sid != sid) SCRIPT_ITEM(not_fixed_sid)->sn_sourced_sid = sid; } +#endif vim_free(fname_not_fixed); vim_free(fname_exp); diff --git a/src/version.c b/src/version.c index a4787e441..17ea79eb0 100644 --- a/src/version.c +++ b/src/version.c @@ -732,6 +732,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 255, +/**/ 254, /**/ 253, |