mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Patch #618347: Work around Solaris 2.6 pthread.h bug. Will backport to 2.2.
This commit is contained in:
parent
3d61a06aa2
commit
a7a76d3d9e
4 changed files with 25 additions and 3 deletions
|
@ -3,11 +3,11 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef __APPLE__
|
||||
#if defined(__APPLE__) || defined(HAVE_PTHREAD_DESTRUCTOR)
|
||||
#define destructor xxdestructor
|
||||
#endif
|
||||
#include <pthread.h>
|
||||
#ifdef __APPLE__
|
||||
#if defined(__APPLE__) || defined(HAVE_PTHREAD_DESTRUCTOR)
|
||||
#undef destructor
|
||||
#endif
|
||||
#include <signal.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue