Commit c11f0bad authored by Stefan Behnel's avatar Stefan Behnel

prevent calling PyEval_InitThreads() when CPython is built without threads

parent fb29416d
...@@ -252,7 +252,9 @@ ...@@ -252,7 +252,9 @@
/////////////// InitThreads.init /////////////// /////////////// InitThreads.init ///////////////
#ifdef WITH_THREAD
PyEval_InitThreads(); PyEval_InitThreads();
#endif
/////////////// CodeObjectCache.proto /////////////// /////////////// CodeObjectCache.proto ///////////////
......
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