Skip to content

Commit e9d21ef

Browse files
author
guido
committed
Jack Jansen: Posix threads are now supported on the Macintosh too.
git-svn-id: http://svn.python.org/projects/python/trunk@15233 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent fd4d3e4 commit e9d21ef

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Python/thread.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ extern char *getenv();
8888
#define SUN_LWP
8989
#endif
9090

91+
#ifdef __MWERKS__
92+
#define _POSIX_THREADS
93+
#endif
94+
9195
#endif /* _POSIX_THREADS */
9296

9397
#ifdef __STDC__

0 commit comments

Comments
 (0)