diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-01-21 10:14:41 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-01-21 10:14:41 +0000 |
commit | dfc33fd8db811feea2bfb974e9da3ed7aea4b10d (patch) | |
tree | f087488e9d89546778edc3000e884f63942294ac /Python/thread_pthread.h | |
parent | 2da75faa871a1f8b7389c41319e1a1d3926b9852 (diff) | |
download | cpython-git-dfc33fd8db811feea2bfb974e9da3ed7aea4b10d.tar.gz |
Don't use Posix semaphores on Solaris 8. Fixes #662787.
Diffstat (limited to 'Python/thread_pthread.h')
-rw-r--r-- | Python/thread_pthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |