changeset 7158:43ac8dc380c7 v7.4.890

commit https://github.com/vim/vim/commit/094454fa708d3297db744f095cd2b7b155a8b6ad Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 7 10:39:55 2015 +0200 patch 7.4.890 Problem: Build failure when using dynamic python but not python3. Solution: Adjust the #if to also include DYNAMIC_PYTHON3 and UNIX.
author Christian Brabandt <cb@256bit.org>
date Wed, 07 Oct 2015 10:45:05 +0200
parents 7271fdea3884
children 1f1b4b6581d2
files src/if_python3.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()
 {
--- 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 */
 /**/
+    890,
+/**/
     889,
 /**/
     888,