diff options
author | Michal Krol <[email protected]> | 2008-08-27 11:06:08 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2008-08-27 11:06:08 +0200 |
commit | da66a7640de664e15d19cfe7cf918aa3d138799b (patch) | |
tree | 55252004bda81787b81a8c32cf8b8da1f54b651f | |
parent | 0bb852fa49e7f9a31036089ea4f5dfbd312a4a3a (diff) |
gallium: Add dummy defines of pipe_condvar for Windows to make it compile.
-rw-r--r-- | src/gallium/include/pipe/p_thread.h | 9 |
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 4e6f7cbb441..54081f024b6 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 |