From a7a76d3d9eb77b4dd3129d34ba8df636ce2e6014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 4 Oct 2002 07:21:24 +0000 Subject: Patch #618347: Work around Solaris 2.6 pthread.h bug. Will backport to 2.2. --- Python/thread_pthread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Python/thread_pthread.h') diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index 556445e583..c9f695726e 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -3,11 +3,11 @@ #include #include -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(HAVE_PTHREAD_DESTRUCTOR) #define destructor xxdestructor #endif #include -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(HAVE_PTHREAD_DESTRUCTOR) #undef destructor #endif #include -- cgit v1.2.1