]> granicus.if.org Git - python/commitdiff
Jack Jansen: Posix threads are now supported on the Macintosh too.
authorGuido van Rossum <guido@python.org>
Mon, 24 Apr 2000 15:06:51 +0000 (15:06 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 24 Apr 2000 15:06:51 +0000 (15:06 +0000)
Python/thread.c

index 0f46223499ccbe379211188514f5c814af159cb1..fcaa10d783e2e3ac9e27e84efc895f360cdcb3c5 100644 (file)
@@ -88,6 +88,10 @@ extern char *getenv();
 #define SUN_LWP
 #endif
 
+#ifdef __MWERKS__
+#define _POSIX_THREADS
+#endif
+
 #endif /* _POSIX_THREADS */
 
 #ifdef __STDC__