summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-07-31 17:55:19 (GMT)
committerGuido van Rossum <guido@python.org>1996-07-31 17:55:19 (GMT)
commit3823420ca4432c20892cbff0267219fe16358a94 (patch)
tree0214ac9558733aeaa9c50aa337a7ac819a50d446 /Python
parent5e41644ddd1140140decfe58c260082d4b8cfc98 (diff)
downloadcpython-3823420ca4432c20892cbff0267219fe16358a94.zip
cpython-3823420ca4432c20892cbff0267219fe16358a94.tar.gz
cpython-3823420ca4432c20892cbff0267219fe16358a94.tar.bz2
If NO_DYNAMIC_LINK is defined, load_dynamic_module() will always fail.
Diffstat (limited to 'Python')
-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;