diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-10-04 07:21:24 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-10-04 07:21:24 (GMT) |
commit | a7a76d3d9eb77b4dd3129d34ba8df636ce2e6014 (patch) | |
tree | 0cc2558cbe36eed85ac9a84cd304a856c9977f8c /Python/thread_pthread.h | |
parent | 3d61a06aa288f2fc64f33c6b09c0778ac4083861 (diff) | |
download | cpython-a7a76d3d9eb77b4dd3129d34ba8df636ce2e6014.zip cpython-a7a76d3d9eb77b4dd3129d34ba8df636ce2e6014.tar.gz cpython-a7a76d3d9eb77b4dd3129d34ba8df636ce2e6014.tar.bz2 |
Patch #618347: Work around Solaris 2.6 pthread.h bug. Will backport to 2.2.
Diffstat (limited to 'Python/thread_pthread.h')
-rw-r--r-- | Python/thread_pthread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index 556445e..c9f6957 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -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> |