[Python-checkins] CVS: python/dist/src/Python thread.c,2.35,2.36
Fred L. Drake
python-dev@python.org
Fri, 6 Oct 2000 08:48:41 -0700
Update of /cvsroot/python/python/dist/src/Python
In directory slayer.i.sourceforge.net:/tmp/cvs-serv22617
Modified Files:
thread.c
Log Message:
Donn Cave <donn@u.washington.edu>:
Do not assume that all platforms using a MetroWorks compiler can use
POSIX threads; the assumption breaks on BeOS. This fix only helps
for BeOS.
This closes SourceForge patch #101772.
Index: thread.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/thread.c,v
retrieving revision 2.35
retrieving revision 2.36
diff -C2 -r2.35 -r2.36
*** thread.c 2000/09/19 00:46:46 2.35
--- thread.c 2000/10/06 15:48:38 2.36
***************
*** 59,63 ****
#endif
! #ifdef __MWERKS__
#define _POSIX_THREADS
#endif
--- 59,63 ----
#endif
! #if defined(__MWERKS__) && !defined(__BEOS__)
#define _POSIX_THREADS
#endif