[Python-checkins] python/dist/src/Python thread_pthread.h,2.40,2.41

loewis@users.sourceforge.net loewis@users.sourceforge.net
2002年10月04日 00:21:26 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv31341/Python
Modified Files:
	thread_pthread.h 
Log Message:
Patch #618347: Work around Solaris 2.6 pthread.h bug. Will backport to 2.2.
Index: thread_pthread.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/thread_pthread.h,v
retrieving revision 2.40
retrieving revision 2.41
diff -C2 -d -r2.40 -r2.41
*** thread_pthread.h	17 Mar 2002 17:19:00 -0000	2.40
--- thread_pthread.h	4 Oct 2002 07:21:24 -0000	2.41
***************
*** 4,12 ****
 #include <stdlib.h>
 #include <string.h>
! #ifdef __APPLE__
 #define destructor xxdestructor
 #endif
 #include <pthread.h>
! #ifdef __APPLE__
 #undef destructor
 #endif
--- 4,12 ----
 #include <stdlib.h>
 #include <string.h>
! #if defined(__APPLE__) || defined(HAVE_PTHREAD_DESTRUCTOR)
 #define destructor xxdestructor
 #endif
 #include <pthread.h>
! #if defined(__APPLE__) || defined(HAVE_PTHREAD_DESTRUCTOR)
 #undef destructor
 #endif

AltStyle によって変換されたページ (->オリジナル) /