[Mesa-dev] [PATCH 1/6] gallium: use Mesa pthread_barrier_t on Haiku, as it is incomplete under Haiku

Brian Paul brian.e.paul at gmail.com
Tue Dec 27 08:31:46 PST 2011


On Tue, Dec 27, 2011 at 8:39 AM, Alexander von Gluck
<kallisti5 at unixzen.com> wrote:
>
> ---
>  src/gallium/auxiliary/os/os_thread.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/gallium/auxiliary/os/os_thread.h
> b/src/gallium/auxiliary/os/os_thread.h
> index d830129..3e1c273 100644
> --- a/src/gallium/auxiliary/os/os_thread.h
> +++ b/src/gallium/auxiliary/os/os_thread.h
> @@ -314,7 +314,7 @@ typedef int64_t pipe_condvar;
>  * pipe_barrier
>  */
>
> -#if (defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD) ||
> defined(PIPE_OS_SOLARIS) || defined(PIPE_OS_HAIKU)) &&
> !defined(PIPE_OS_ANDROID)
> +#if (defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD) ||
> defined(PIPE_OS_SOLARIS)) && !defined(PIPE_OS_ANDROID)
>
>  typedef pthread_barrier_t pipe_barrier;
>
> --

Looks good.  Will push soon.

-Brian


More information about the mesa-dev mailing list