Eina: Fix compilation of eina_semaphore_lock() (Windows port)

Patch by Shinwoo Kim


SVN revision: 67317
This commit is contained in:
Vincent Torri 2012-01-19 06:33:42 +00:00
parent c53f0f501b
commit 9a76004770
2 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -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;