Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a6c2eb5

Browse files
committed
Donn Cave <[email protected]>:
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.
1 parent 51d9036 commit a6c2eb5

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)