Commit b92fbab5 authored by Guido van Rossum's avatar Guido van Rossum

Add a hack for Solaris threads (why not, there are zillions of

hacks for Windows and DOS here already :-( ).
parent 092a6939
......@@ -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>
......
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