diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-19 11:24:40 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-19 11:24:40 +0000 |
commit | b4868eddd9cdc7086c88a7a3699dd435d34ae904 (patch) | |
tree | d1023860e83de3d3947850355ad29d2968219b99 /src/fileio.c | |
parent | 17dd51963367495f75b0f0a73139081dd7b25500 (diff) | |
download | vim-git-b4868eddd9cdc7086c88a7a3699dd435d34ae904.tar.gz |
patch 8.2.4142: build failure with normal features without persistent undov8.2.4142
Problem: Build failure with normal features without persistent undo.
Solution: Adjust #ifdef. (closes #9557)
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 1fcf0d983..5b5699d65 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -1300,7 +1300,7 @@ retry: cryptkey = check_for_cryptkey(cryptkey, ptr, &size, &filesize, newfile, sfname, &did_ask_for_key); -# ifdef CRYPT_NOT_INPLACE +# if defined(CRYPT_NOT_INPLACE) && defined(FEAT_PERSISTENT_UNDO) if (curbuf->b_cryptstate != NULL && !crypt_works_inplace(curbuf->b_cryptstate)) // reading undo file requires crypt_decode_inplace() |