From: Michal Krol Date: Wed, 27 Aug 2008 09:06:08 +0000 (+0200) Subject: gallium: Add dummy defines of pipe_condvar for Windows to make it compile. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da66a7640de664e15d19cfe7cf918aa3d138799b;p=mesa.git gallium: Add dummy defines of pipe_condvar for Windows to make it compile. --- 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