summaryrefslogtreecommitdiff
path: root/Python/thread.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-09-20 11:13:36 +0000
committerMartin v. Löwis <martin@v.loewis.de>2003-09-20 11:13:36 +0000
commit17c3de5735eb74f2e9d5d2c5202efa42e824b42d (patch)
tree935e7964056bdce88644fd7181962e98bb9ccf4c /Python/thread.c
parent00eee2e4e376c7945f00c4fd77ffc17c1e084bd5 (diff)
downloadcpython-17c3de5735eb74f2e9d5d2c5202efa42e824b42d.tar.gz
Patch #805613: Fix usage of the PTH library.
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 87230e02e0..2298b383e7 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