diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-10-07 10:39:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-10-07 10:39:55 +0200 |
commit | 094454fa708d3297db744f095cd2b7b155a8b6ad (patch) | |
tree | 2ea8a487dd2621214e1e7cb0a48f3bb3de9a9004 /src/if_python3.c | |
parent | 74b738d414b2895b3365e26ae3b7792eb82ccf47 (diff) | |
download | vim-git-094454fa708d3297db744f095cd2b7b155a8b6ad.tar.gz |
patch 7.4.890v7.4.890
Problem: Build failure when using dynamic python but not python3.
Solution: Adjust the #if to also include DYNAMIC_PYTHON3 and UNIX.
Diffstat (limited to 'src/if_python3.c')
-rw-r--r-- | src/if_python3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_python3.c b/src/if_python3.c index e1fc5c77d..a6a655f0a 100644 --- a/src/if_python3.c +++ b/src/if_python3.c @@ -828,7 +828,7 @@ python3_end() --recurse; } -#if (defined(DYNAMIC_PYTHON) && defined(FEAT_PYTHON)) || defined(PROTO) +#if (defined(DYNAMIC_PYTHON3) && defined(DYNAMIC_PYTHON) && defined(FEAT_PYTHON) && defined(UNIX)) || defined(PROTO) int python3_loaded() { |