From: Fred Drake Date: Fri, 6 Oct 2000 15:48:38 +0000 (+0000) Subject: Donn Cave : X-Git-Tag: v2.0c1~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6c2eb5e1efaef3a0799a3d220637b46869d86e3;p=python Donn Cave : 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 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