summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-09-20 11:13:36 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-09-20 11:13:36 (GMT)
commit70849f84a04e19f8723cfbea24dd3c8be301bf06 (patch)
tree81aba78fd64d26bcb18e4d2dbdeb00727fccee1c /Python/thread.c
parent7bdc484c97eb418dcffcdc7a4390e30818d277cb (diff)
downloadcpython-70849f84a04e19f8723cfbea24dd3c8be301bf06.zip
cpython-70849f84a04e19f8723cfbea24dd3c8be301bf06.tar.gz
cpython-70849f84a04e19f8723cfbea24dd3c8be301bf06.tar.bz2
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 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