diff options
author | Guido van Rossum <guido@python.org> | 1996-07-31 17:55:19 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-07-31 17:55:19 (GMT) |
commit | 3823420ca4432c20892cbff0267219fe16358a94 (patch) | |
tree | 0214ac9558733aeaa9c50aa337a7ac819a50d446 /Python/importdl.c | |
parent | 5e41644ddd1140140decfe58c260082d4b8cfc98 (diff) | |
download | cpython-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/importdl.c')
-rw-r--r-- | Python/importdl.c | 4 |
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; |