commit | dfc33fd8db811feea2bfb974e9da3ed7aea4b10d | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Tue Jan 21 10:14:41 2003 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Tue Jan 21 10:14:41 2003 +0000 |
tree | f087488e9d89546778edc3000e884f63942294ac | |
parent | 2da75faa871a1f8b7389c41319e1a1d3926b9852 [diff] [blame] |
Don't use Posix semaphores on Solaris 8. Fixes #662787.
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