mirror of https://github.com/python/cpython
Add a hack for Solaris threads (why not, there are zillions of
hacks for Windows and DOS here already :-( ).
This commit is contained in:
parent
8bac546e11
commit
2e1beeac2e
|
@ -41,6 +41,12 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#define UsingSharedLibs
|
||||
#endif
|
||||
|
||||
#ifdef WITH_THREAD
|
||||
/* This turns errno in a thread-safe function on Solaris.
|
||||
Wonder what it will break though :-( */
|
||||
#define _REENTRANT
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
|
Loading…
Reference in New Issue