summaryrefslogtreecommitdiff
path: root/Python/thread.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-06 15:48:38 +0000
committerFred Drake <fdrake@acm.org>2000-10-06 15:48:38 +0000
commitdb19eea0616852eae6d23d0f7198cb44586da042 (patch)
tree92e32834a80247af6bb303ecd00ced9c74b951f3 /Python/thread.c
parente1568cfb2fe08f99af80457694a0b58c6a05c24a (diff)
downloadcpython-db19eea0616852eae6d23d0f7198cb44586da042.tar.gz
Donn Cave <donn@u.washington.edu>:
Do not assume that all platforms using a MetroWorks compiler can use POSIX threads; the assumption breaks on BeOS. This fix only helps for BeOS. This closes SourceForge patch #101772.
Diffstat (limited to 'Python/thread.c')
-rw-r--r--Python/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/thread.c b/Python/thread.c
index f366a71ec7..b5d99ef4bd 100644
--- a/Python/thread.c
+++ b/Python/thread.c
@@ -58,7 +58,7 @@ extern char *getenv(const char *);
#define SUN_LWP
#endif
-#ifdef __MWERKS__
+#if defined(__MWERKS__) && !defined(__BEOS__)
#define _POSIX_THREADS
#endif