From: caro Date: Thu, 19 Jan 2012 06:33:42 +0000 (+0000) Subject: Eina: Fix compilation of eina_semaphore_lock() (Windows port) X-Git-Tag: submit/2.0alpha-wayland/20121127.222009~361 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c05e47b23527b828884bbc5faf9b8bdcae58d8f5;p=profile%2Fivi%2Feina.git Eina: Fix compilation of eina_semaphore_lock() (Windows port) Patch by Shinwoo Kim git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@67317 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/ChangeLog b/ChangeLog index bd75d8f..dfecb61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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) diff --git a/src/include/eina_inline_lock_win32.x b/src/include/eina_inline_lock_win32.x index 7677260..e8363d5 100644 --- a/src/include/eina_inline_lock_win32.x +++ b/src/include/eina_inline_lock_win32.x @@ -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;