summaryrefslogtreecommitdiffstats
path: root/Python/thread_pthread.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-01-21 10:14:41 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-01-21 10:14:41 (GMT)
commitdfc33fd8db811feea2bfb974e9da3ed7aea4b10d (patch)
treef087488e9d89546778edc3000e884f63942294ac /Python/thread_pthread.h
parent2da75faa871a1f8b7389c41319e1a1d3926b9852 (diff)
downloadcpython-dfc33fd8db811feea2bfb974e9da3ed7aea4b10d.zip
cpython-dfc33fd8db811feea2bfb974e9da3ed7aea4b10d.tar.gz
cpython-dfc33fd8db811feea2bfb974e9da3ed7aea4b10d.tar.bz2
Don't use Posix semaphores on Solaris 8. Fixes #662787.
Diffstat (limited to 'Python/thread_pthread.h')
-rw-r--r--Python/thread_pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h
index 8067121..e30982f 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