patch 7.4.1065
Problem: Cannot use the "dll" options on MS-Windows.
Solution: Support the options on all platforms. Use the built-in name as
the default, so that it's clear what Vim is looking for.
diff --git a/src/if_python3.c b/src/if_python3.c
index 387b811..a78fa6b 100644
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -686,12 +686,7 @@
int
python3_enabled(int verbose)
{
-#ifdef WIN3264
- char *dll = DYNAMIC_PYTHON3_DLL;
-#else
- char *dll = *p_py3dll ? (char *)p_py3dll : DYNAMIC_PYTHON3_DLL;
-#endif
- return py3_runtime_link_init(dll, verbose) == OK;
+ return py3_runtime_link_init((char *)p_py3dll, verbose) == OK;
}
/* Load the standard Python exceptions - don't import the symbols from the