summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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__