mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Tweaks to keep the Microsoft compiler quier.
This commit is contained in:
parent
8017767420
commit
644a12b00c
8 changed files with 36 additions and 19 deletions
|
|
@ -503,13 +503,16 @@ load_dynamic_module(name, pathname, fp)
|
|||
perror(funcname);
|
||||
}
|
||||
#endif /* hpux */
|
||||
#ifdef USE_SHLIB
|
||||
got_it:
|
||||
#endif
|
||||
if (p == NULL) {
|
||||
err_setstr(ImportError,
|
||||
"dynamic module does not define init function");
|
||||
return NULL;
|
||||
}
|
||||
(*p)();
|
||||
/* XXX Need check for err_occurred() here */
|
||||
|
||||
m = dictlookup(import_modules, name);
|
||||
if (m == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue