]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Close #24784: Fix compilation without thread support
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 11 Oct 2015 07:54:42 +0000 (09:54 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sun, 11 Oct 2015 07:54:42 +0000 (09:54 +0200)
commitbc5b80bac1d3db5779fcace4922bfc7eb8b964fa
treef2683edb7faa3a850b6a387bdc52166af5525e55
parentb16e12aaaa3d6b3f47dc1400e900c2d4aae0f337
Close #24784: Fix compilation without thread support

Add "#ifdef WITH_THREAD" around cals to:

* PyGILState_Check()
* _PyImport_AcquireLock()
* _PyImport_ReleaseLock()
Modules/_posixsubprocess.c
Modules/socketmodule.c
Python/fileutils.c