From dfc33fd8db811feea2bfb974e9da3ed7aea4b10d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Tue, 21 Jan 2003 10:14:41 +0000 Subject: Don't use Posix semaphores on Solaris 8. Fixes #662787. --- Python/thread_pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/thread_pthread.h') diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index 80671215ea..e30982fc4f 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -104,7 +104,7 @@ /* Whether or not to use semaphores directly rather than emulating them with * mutexes and condition variables: */ -#ifdef _POSIX_SEMAPHORES +#if defined(_POSIX_SEMAPHORES) && !defined(HAVE_BROKEN_POSIX_SEMAPHORES) # define USE_SEMAPHORES #else # undef USE_SEMAPHORES -- cgit v1.2.1