]> granicus.if.org Git - python/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)
commit92f0113701c6404f9e1ec90e3260084fc6a2ef09
tree2c23a0831d44990092a377c5b905ab96ca227981
parent647dac9d6fc08b9fad14c10dabe7cc8ee48c8553
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