Fix ISOC build errors.
This commit is contained in:
parent
493d96a732
commit
3c090307a4
1 changed files with 2 additions and 2 deletions
|
|
@ -332,8 +332,6 @@ SWIGEXPORT
|
|||
SWIG_init(void) {
|
||||
PyObject *m, *d, *md, *globals;
|
||||
|
||||
(void)globals;
|
||||
|
||||
#if PY_VERSION_HEX >= 0x03000000
|
||||
static struct PyModuleDef SWIG_module = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
|
|
@ -386,6 +384,8 @@ SWIG_init(void) {
|
|||
assert(metatype);
|
||||
#endif
|
||||
|
||||
(void)globals;
|
||||
|
||||
/* Create singletons now to avoid potential deadlocks with multi-threaded usage after module initialization */
|
||||
SWIG_This();
|
||||
SWIG_Python_TypeCache();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue