Eina: Fix compilation of eina_semaphore_lock() (Windows port)
Patch by Shinwoo Kim SVN revision: 67317
This commit is contained in:
parent
c53f0f501b
commit
9a76004770
|
@ -194,3 +194,7 @@
|
|||
* Deprecated eina_array_count_get(), use eina_array_count() instead.
|
||||
* Add eina_inarray data type.
|
||||
* Add eina_value data type (generic value storage).
|
||||
|
||||
2012-01-19 Shinwoo Kim
|
||||
|
||||
* Fix compilation of eina_semaphore_lock() (Windows port)
|
||||
|
|
|
@ -493,7 +493,7 @@ eina_semaphore_lock(Eina_Semaphore *sem)
|
|||
if (!sem)
|
||||
return EINA_FALSE;
|
||||
|
||||
res = WaitForSingleObject(ev->shared->lock, 0L);
|
||||
res = WaitForSingleObject(*sem, 0L);
|
||||
if (res == WAIT_OBJECT_0)
|
||||
return EINA_TRUE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue