[Patches] Patch to thread.c
Jack Jansen
Jack.Jansen@oratrix.com
Sat, 22 Apr 2000 01:16:09 +0200
This is a multi-part message in MIME format.
--------------E2C6AC962320E5BCAA1B5032
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Here's a patch to thread.c. Posix threads are now supported on the Macintosh too.
---
I confirm that, to the best of my knowledge and belief, this
contribution is free of
any claims of third parties under
copyright, patent or
other rights or interests ("claims"). To
the extent that I have
any such claims, I hereby grant to CNRI a
nonexclusive,
irrevocable, royalty-free, worldwide license to
reproduce, distribute,
perform and/or display publicly, prepare
derivative versions, and
otherwise use this contribution as part
of the Python software
and its related documentation, or any
derivative versions
thereof, at no cost to CNRI or its licensed
users, and to authorize
others to do so.
I acknowledge that CNRI
may, at its sole discretion, decide
whether or not to
incorporate this contribution in the Python
software and its related
documentation. I further grant CNRI
permission to use my
name and other identifying information
provided to CNRI by me
for use in connection with the Python
software and its related documentation.
--------------E2C6AC962320E5BCAA1B5032
Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="522A6368";
name="patch-thread"
Content-Transfer-Encoding: 7bit
Content-Description: Unknown Document
Content-Disposition: inline;
filename="patch-thread"
Index: thread.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Python/thread.c,v
retrieving revision 2.27
diff -c -r2.27 thread.c
*** thread.c 1999/04/07 16:07:23 2.27
--- thread.c 2000/04/21 23:00:55
***************
*** 88,93 ****
--- 88,97 ----
#define SUN_LWP
#endif
+ #ifdef __MWERKS__
+ #define _POSIX_THREADS
+ #endif
+
#endif /* _POSIX_THREADS */
#ifdef __STDC__
--------------E2C6AC962320E5BCAA1B5032--