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