diff Python/thread.c @ 15047:457f0df46dd9 legacy-trunk

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.
author Fred Drake <fdrake@acm.org>
date Fri, 06 Oct 2000 15:48:38 +0000
parents 756c8c6535fe
children 2dea40e40d9d
line wrap: on
line diff
--- a/Python/thread.c	Fri Oct 06 15:37:06 2000 +0000
+++ b/Python/thread.c	Fri Oct 06 15:48:38 2000 +0000
@@ -58,7 +58,7 @@
 #define SUN_LWP
 #endif
 
-#ifdef __MWERKS__
+#if defined(__MWERKS__) && !defined(__BEOS__)
 #define _POSIX_THREADS
 #endif