Commit 3823420c authored by Guido van Rossum's avatar Guido van Rossum

If NO_DYNAMIC_LINK is defined, load_dynamic_module() will always fail.

parent 5e41644d
...@@ -214,6 +214,10 @@ struct filedescr import_filetab[] = { ...@@ -214,6 +214,10 @@ struct filedescr import_filetab[] = {
{0, 0} {0, 0}
}; };
#ifdef NO_DYNAMIC_LINK
#undef DYNAMIC_LINK
#endif
object * object *
load_dynamic_module(name, pathname, fp) load_dynamic_module(name, pathname, fp)
char *name; char *name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment