summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/importdl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/importdl.c b/Python/importdl.c
index e05e50f..b1b13a1 100644
--- a/Python/importdl.c
+++ b/Python/importdl.c
@@ -214,6 +214,10 @@ struct filedescr import_filetab[] = {
{0, 0}
};
+#ifdef NO_DYNAMIC_LINK
+#undef DYNAMIC_LINK
+#endif
+
object *
load_dynamic_module(name, pathname, fp)
char *name;