Commit d1cf0636 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

WinCE: compilation fix

parent a7fcaf89
...@@ -68,13 +68,13 @@ DWORD WaitForMultipleObjectsEx (DWORD nCount, const HANDLE *lpHandles, ...@@ -68,13 +68,13 @@ DWORD WaitForMultipleObjectsEx (DWORD nCount, const HANDLE *lpHandles,
BOOL bWaitAll, DWORD dwMilliseconds, BOOL bWaitAll, DWORD dwMilliseconds,
BOOL bAlertable) BOOL bAlertable)
{ {
struct vlc_thread *th = vlc_threadvar_get (thread_key);
HANDLE handles[nCount + 1]; HANDLE handles[nCount + 1];
DWORD ret; DWORD ret;
memcpy(handles, lpHandles, nCount * sizeof(HANDLE)); memcpy(handles, lpHandles, nCount * sizeof(HANDLE));
if (bAlertable) if (bAlertable)
{ {
struct vlc_thread *th = vlc_threadvar_get (thread_key);
if (th != NULL) if (th != NULL)
{ {
handles[nCount] = th->cancel_event; handles[nCount] = th->cancel_event;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment