mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
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
1 changed files with 6 additions and 0 deletions
|
|
@ -41,6 +41,12 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
#define UsingSharedLibs
|
#define UsingSharedLibs
|
||||||
#endif
|
#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 <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue