From a6c2eb5e1efaef3a0799a3d220637b46869d86e3 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 6 Oct 2000 15:48:38 +0000 Subject: [PATCH] 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. --- Python/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/thread.c b/Python/thread.c index f366a71ec76..b5d99ef4bd6 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