diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-08-25 21:27:35 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-08-25 21:27:35 +0200 |
commit | 8060687905bdadc46abb68ee6d40e5660e352297 (patch) | |
tree | cf16b4d75d500d12392e304cde8d687027e2f29a | |
parent | 88774fdd23f08355297bb8cda78856859051d3c7 (diff) |
patch 7.4.838v7.4.838
Problem: Can't compile without the crypt feature. (John Marriott)
Solution: Add #ifdef.
-rw-r--r-- | src/option.c | 5 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c index b5e53efee7..f0d1996a2d 100644 --- a/src/option.c +++ b/src/option.c @@ -3654,8 +3654,11 @@ set_options_default(opt_flags) if (!(options[i].flags & P_NODEFAULT) && (opt_flags == 0 || (options[i].var != (char_u *)&p_enc +#if defined(FEAT_CRYPT) && options[i].var != (char_u *)&p_cm - && options[i].var != (char_u *)&p_key))) + && options[i].var != (char_u *)&p_key +#endif + ))) set_option_default(i, opt_flags, p_cp); #ifdef FEAT_WINDOWS diff --git a/src/version.c b/src/version.c index 57ff84c32a..df4275952c 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 838, +/**/ 837, /**/ 836, |