Module: Mesa Branch: master Commit: fa75cc4b896ea16efb43c01f0e220a97773c3a2e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa75cc4b896ea16efb43c01f0e220a97773c3a2e
Author: José Fonseca <[email protected]> Date: Thu Jan 23 13:44:10 2014 +0000 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. --- src/gallium/auxiliary/os/os_thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/os/os_thread.h b/src/gallium/auxiliary/os/os_thread.h index 1d802d2..ff46a89 100644 --- a/src/gallium/auxiliary/os/os_thread.h +++ b/src/gallium/auxiliary/os/os_thread.h @@ -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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
