summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/thread.c')
-rw-r--r--Python/thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/thread.c b/Python/thread.c
index 87230e0..2298b38 100644
--- a/Python/thread.c
+++ b/Python/thread.c
@@ -98,6 +98,7 @@ void PyThread_init_thread(void)
#ifdef HAVE_PTH
#include "thread_pth.h"
+#undef _POSIX_THREADS
#endif
#ifdef _POSIX_THREADS