summaryrefslogtreecommitdiff
path: root/src/if_python3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_python3.c')
-rw-r--r--src/if_python3.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/if_python3.c b/src/if_python3.c
index 387b811f6..a78fa6b58 100644
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -686,12 +686,7 @@ py3_runtime_link_init(char *libname, int verbose)
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