Windows: Just use WaitForSingleObjectEx() everywhere.
(It's supported on WinXP, no reason to have an #ifdef here...I think.)
This commit is contained in:
parent
c21c74ff41
commit
89bd9d9389
1 changed files with 0 additions and 4 deletions
|
@ -199,11 +199,7 @@ SDL_SYS_SetThreadPriority(SDL_ThreadPriority priority)
|
||||||
void
|
void
|
||||||
SDL_SYS_WaitThread(SDL_Thread * thread)
|
SDL_SYS_WaitThread(SDL_Thread * thread)
|
||||||
{
|
{
|
||||||
#if __WINRT__
|
|
||||||
WaitForSingleObjectEx(thread->handle, INFINITE, FALSE);
|
WaitForSingleObjectEx(thread->handle, INFINITE, FALSE);
|
||||||
#else
|
|
||||||
WaitForSingleObject(thread->handle, INFINITE);
|
|
||||||
#endif
|
|
||||||
CloseHandle(thread->handle);
|
CloseHandle(thread->handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue