From: Bram Moolenaar Date: Wed, 7 Oct 2015 08:39:55 +0000 (+0200) Subject: patch 7.4.890 X-Git-Tag: v7.4.890 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=094454fa708d3297db744f095cd2b7b155a8b6ad;p=vim 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. --- 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() { diff --git a/src/version.c b/src/version.c index d3ea2d3ce..c60bbe6b7 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 890, /**/ 889, /**/