From 094454fa708d3297db744f095cd2b7b155a8b6ad Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 7 Oct 2015 10:39:55 +0200 Subject: [PATCH] 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. --- src/if_python3.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/if_python3.c b/src/if_python3.c index e1fc5c77d5..a6a655f0a3 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 d3ea2d3ce7..c60bbe6b75 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, /**/ -- 2.47.3