From 067010f7faf6c2a00cc9d9e235c12d8da46d7d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 4 Oct 2002 10:16:27 +0000 Subject: Patch #618347: Work around Solaris pthread.h bug. --- 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 771e22e913..a7ae538e5c 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