Skip to content

Commit 56c62ca

Browse files
author
fdrake
committed
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. git-svn-id: http://svn.python.org/projects/python/trunk@17905 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent a6ca726 commit 56c62ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ extern char *getenv(const char *);
5858
#define SUN_LWP
5959
#endif
6060

61-
#ifdef __MWERKS__
61+
#if defined(__MWERKS__) && !defined(__BEOS__)
6262
#define _POSIX_THREADS
6363
#endif
6464

0 commit comments

Comments
 (0)