summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-08-27 11:06:08 +0200
committerMichal Krol <michal@tungstengraphics.com>2008-08-27 11:06:08 +0200
commitda66a7640de664e15d19cfe7cf918aa3d138799b (patch)
tree55252004bda81787b81a8c32cf8b8da1f54b651f /src/gallium/include/pipe
parent0bb852fa49e7f9a31036089ea4f5dfbd312a4a3a (diff)
gallium: Add dummy defines of pipe_condvar for Windows to make it compile.
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_thread.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_thread.h b/src/gallium/include/pipe/p_thread.h
index 4e6f7cbb44..54081f024b 100644
--- a/src/gallium/include/pipe/p_thread.h
+++ b/src/gallium/include/pipe/p_thread.h
@@ -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