Update of /cvsroot/python/python/dist/src/Python In directory usw-pr-cvs1:/tmp/cvs-serv7774 Modified Files: thread_pthread.h Log Message: Workaround for what is probably a problem in Apple's gcc: <pthread.h> fails on a function pointer formal argument called "destructor", which is typedeffed as a different function pointer type in object.h. Index: thread_pthread.h =================================================================== RCS file: /cvsroot/python/python/dist/src/Python/thread_pthread.h,v retrieving revision 2.36 retrieving revision 2.37 diff -C2 -d -r2.36 -r2.37 *** thread_pthread.h 2001/11/09 16:00:41 2.36 --- thread_pthread.h 2002/01/15 20:36:14 2.37 *************** *** 4,8 **** --- 4,14 ---- #include <stdlib.h> #include <string.h> + #ifdef __APPLE__ + #define destructor xxdestructor + #endif #include <pthread.h> + #ifdef __APPLE__ + #undef destructor + #endif #include <signal.h>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4