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

Alexander von Gluck kallisti5 at unixzen.com
Tue Dec 27 07:39:47 PST 2011


---
  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;

-- 
1.7.7.2


More information about the mesa-dev mailing list