Skip to content

Commit 094454f

Browse files
committed
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.
1 parent 74b738d commit 094454f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/if_python3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ python3_end()
828828
--recurse;
829829
}
830830

831-
#if (defined(DYNAMIC_PYTHON) && defined(FEAT_PYTHON)) || defined(PROTO)
831+
#if (defined(DYNAMIC_PYTHON3) && defined(DYNAMIC_PYTHON) && defined(FEAT_PYTHON) && defined(UNIX)) || defined(PROTO)
832832
int
833833
python3_loaded()
834834
{

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
890,
744746
/**/
745747
889,
746748
/**/

0 commit comments

Comments
 (0)