gallium: Add dummy defines of pipe_condvar for Windows to make it compile.
authorMichal Krol <michal@tungstengraphics.com>
Wed, 27 Aug 2008 09:06:08 +0000 (11:06 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Wed, 27 Aug 2008 09:06:08 +0000 (11:06 +0200)
src/gallium/include/pipe/p_thread.h

index 4e6f7cbb441f2dfb4bd26938e5ed4c62111f4261..54081f024b6f11fc57088b70fcef932a8697905b 100644 (file)
@@ -102,6 +102,15 @@ typedef CRITICAL_SECTION pipe_mutex;
 #define pipe_mutex_unlock(name) \
    LeaveCriticalSection(&name)
 
+/* XXX: dummy definitions, make it compile */
+
+typedef unsigned pipe_condvar;
+
+#define pipe_condvar_init(condvar) \
+   (void) condvar
+
+#define pipe_condvar_broadcast(condvar) \
+   (void) condvar
 
 #else