diff options
Diffstat (limited to 'Python/thread.c')
-rw-r--r-- | Python/thread.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Python/thread.c b/Python/thread.c index 9c75c2f..f366a71 100644 --- a/Python/thread.c +++ b/Python/thread.c @@ -109,13 +109,14 @@ void PyThread_init_thread(void) #include "thread_lwp.h" #endif -#ifdef _GNU_PTH +#ifdef HAVE_PTH #include "thread_pth.h" -#else +#undef _POSIX_THREADS +#endif + #ifdef _POSIX_THREADS #include "thread_pthread.h" #endif -#endif #ifdef C_THREADS #include "thread_cthread.h" |