diff src/if_python3.c @ 7528:53163e4d9e4f v7.4.1065

commit https://github.com/vim/vim/commit/25e4fcde767084d1a79e0926bc301c92987c0cce Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 9 14:57:47 2016 +0100 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.
author Christian Brabandt <cb@256bit.org>
date Sat, 09 Jan 2016 15:00:05 +0100
parents cd69647bb839
children 37c929c4a073
line wrap: on
line diff
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -686,12 +686,7 @@ py3_runtime_link_init(char *libname, int
     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