os/os_thread: Revert pipe_barrier pre-processing logic.
Whitelist platforms instead of blacklisting, as several pthread implementations are missing pthread_barrier_t, in particular MacOSX.
This commit is contained in:
parent
cd978ce26a
commit
fa75cc4b89
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ typedef cnd_t pipe_condvar;
|
|||
* pipe_barrier
|
||||
*/
|
||||
|
||||
#if defined(HAVE_PTHREAD) && !defined(PIPE_OS_ANDROID)
|
||||
#if (defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD) || defined(PIPE_OS_SOLARIS) || defined(PIPE_OS_HURD)) && !defined(PIPE_OS_ANDROID)
|
||||
|
||||
typedef pthread_barrier_t pipe_barrier;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue