summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/thread.c')
-rw-r--r--Python/thread.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Python/thread.c b/Python/thread.c
index ad7dd5c..2d04256 100644
--- a/Python/thread.c
+++ b/Python/thread.c
@@ -49,6 +49,12 @@ extern char *getenv();
#include <unistd.h>
#endif
+#ifdef __sgi
+#ifndef HAVE_PTHREAD_H /* XXX Need to check in configure.in */
+#undef _POSIX_THREADS
+#endif
+#endif
+
#include "thread.h"
#ifdef __ksr__