Commit 19f8edc3 authored by Antoine Pitrou's avatar Antoine Pitrou

Issue #10062: Allow building on platforms which do not have sem_timedwait.

parent 1bf29b7d
......@@ -346,6 +346,8 @@ Tests
Build
-----
- Issue #10062: Allow building on platforms which do not have sem_timedwait.
- Issue #10054: Some platforms provide uintptr_t in inttypes.h. Patch by
Akira Kitada.
......
......@@ -64,7 +64,8 @@
/* Whether or not to use semaphores directly rather than emulating them with
* mutexes and condition variables:
*/
#if defined(_POSIX_SEMAPHORES) && !defined(HAVE_BROKEN_POSIX_SEMAPHORES)
#if (defined(_POSIX_SEMAPHORES) && !defined(HAVE_BROKEN_POSIX_SEMAPHORES) && \
defined(HAVE_SEM_TIMEDWAIT))
# define USE_SEMAPHORES
#else
# undef USE_SEMAPHORES
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment