summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-06 15:48:38 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-06 15:48:38 (GMT)
commita6c2eb5e1efaef3a0799a3d220637b46869d86e3 (patch)
treecea6f2d3f70043656a689a4ce935533600f58c26
parent51d9036cc8cd9f0d4a9ee8f3efc5c100de301cec (diff)
downloadcpython-a6c2eb5e1efaef3a0799a3d220637b46869d86e3.zip
cpython-a6c2eb5e1efaef3a0799a3d220637b46869d86e3.tar.gz
cpython-a6c2eb5e1efaef3a0799a3d220637b46869d86e3.tar.bz2
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.
-rw-r--r--Python/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/thread.c b/Python/thread.c
index f366a71..b5d99ef 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