Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Windows: Just use WaitForSingleObjectEx() everywhere.
(It's supported on WinXP, no reason to have an #ifdef here...I think.)
  • Loading branch information
icculus committed Feb 21, 2016
1 parent 9fd4d4d commit 481a21b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/thread/windows/SDL_systhread.c
Expand Up @@ -199,11 +199,7 @@ SDL_SYS_SetThreadPriority(SDL_ThreadPriority priority)
void
SDL_SYS_WaitThread(SDL_Thread * thread)
{
#if __WINRT__
WaitForSingleObjectEx(thread->handle, INFINITE, FALSE);
#else
WaitForSingleObject(thread->handle, INFINITE);
#endif
CloseHandle(thread->handle);
}

Expand Down

0 comments on commit 481a21b

Please sign in to comment.