diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-06 15:48:38 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-06 15:48:38 +0000 |
commit | db19eea0616852eae6d23d0f7198cb44586da042 (patch) | |
tree | 92e32834a80247af6bb303ecd00ced9c74b951f3 /Python/thread.c | |
parent | e1568cfb2fe08f99af80457694a0b58c6a05c24a (diff) | |
download | cpython-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.c | 2 |
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 |