summaryrefslogtreecommitdiff
path: root/Python/thread.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-04-24 15:06:51 +0000
committerGuido van Rossum <guido@python.org>2000-04-24 15:06:51 +0000
commitd0c1fac6f935ce391627da3dde345ce9a04f7dae (patch)
tree85304a4d1e2e7e8617b06f86a8685743ac07f04c /Python/thread.c
parent7277caa35ffc4c0ad3fe016077e0afa3bffede03 (diff)
downloadcpython-d0c1fac6f935ce391627da3dde345ce9a04f7dae.tar.gz
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 0f46223499..fcaa10d783 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__