commit | a6c2eb5e1efaef3a0799a3d220637b46869d86e3 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Fri Oct 06 15:48:38 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Fri Oct 06 15:48:38 2000 +0000 |
tree | cea6f2d3f70043656a689a4ce935533600f58c26 | |
parent | 51d9036cc8cd9f0d4a9ee8f3efc5c100de301cec [diff] |
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.
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 @@ #define SUN_LWP #endif -#ifdef __MWERKS__ +#if defined(__MWERKS__) && !defined(__BEOS__) #define _POSIX_THREADS #endif