diff options
Diffstat (limited to '3rdparty')
-rw-r--r-- | 3rdparty/python-console/modified/pyinterpreter.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/3rdparty/python-console/modified/pyinterpreter.cc b/3rdparty/python-console/modified/pyinterpreter.cc index bf6d9620..c222c9ad 100644 --- a/3rdparty/python-console/modified/pyinterpreter.cc +++ b/3rdparty/python-console/modified/pyinterpreter.cc @@ -122,7 +122,9 @@ void pyinterpreter_preinit() void pyinterpreter_initialize() { +#if PY_VERSION_HEX < 0x03090000 PyEval_InitThreads(); +#endif m_threadState = PyEval_SaveThread(); PyEval_AcquireThread(m_threadState); |