1
0
forked from aniani/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.
This commit is contained in:
Bram Moolenaar
2015-10-07 10:39:55 +02:00
parent 74b738d414
commit 094454fa70
2 changed files with 3 additions and 1 deletions

View File

@@ -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()
{

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
890,
/**/
889,
/**/