Eina: Fix compilation of eina_semaphore_lock() (Windows port)
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 19 Jan 2012 06:33:42 +0000 (06:33 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 19 Jan 2012 06:33:42 +0000 (06:33 +0000)
Patch by Shinwoo Kim

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@67317 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
src/include/eina_inline_lock_win32.x

index bd75d8f..dfecb61 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        * 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)
index 7677260..e8363d5 100644 (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;