summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-04-24 15:06:51 (GMT)
committerGuido van Rossum <guido@python.org>2000-04-24 15:06:51 (GMT)
commit095249fc8c972d95db304b29c52d9861d232f2cb (patch)
tree6ef81732b9ecf6a51e3518b9ee37e2482e4352b9 /Python/thread.c
parent0f7bd3ce9fd4e78d4b1db60b68dff9442dc1b1ec (diff)
downloadcpython-095249fc8c972d95db304b29c52d9861d232f2cb.zip
cpython-095249fc8c972d95db304b29c52d9861d232f2cb.tar.gz
cpython-095249fc8c972d95db304b29c52d9861d232f2cb.tar.bz2
Jack Jansen: Posix threads are now supported on the Macintosh too.
Diffstat (limited to 'Python/thread.c')
-rw-r--r--Python/thread.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/thread.c b/Python/thread.c
index 0f46223..fcaa10d 100644
--- a/Python/thread.c
+++ b/Python/thread.c
@@ -88,6 +88,10 @@ extern char *getenv();
#define SUN_LWP
#endif
+#ifdef __MWERKS__
+#define _POSIX_THREADS
+#endif
+
#endif /* _POSIX_THREADS */
#ifdef __STDC__