mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
51d9036cc8
commit
a6c2eb5e1e
|
@ -58,7 +58,7 @@ extern char *getenv(const char *);
|
|||
#define SUN_LWP
|
||||
#endif
|
||||
|
||||
#ifdef __MWERKS__
|
||||
#if defined(__MWERKS__) && !defined(__BEOS__)
|
||||
#define _POSIX_THREADS
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue