Windows: Just use WaitForSingleObjectEx() everywhere.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 21 Feb 2016 17:21:29 -0500
changeset 1008833bee97dbcbb
parent 10087 96f7be2c885b
child 10089 25fda20d0173
Windows: Just use WaitForSingleObjectEx() everywhere.

(It's supported on WinXP, no reason to have an #ifdef here...I think.)
src/thread/windows/SDL_systhread.c
     1.1 --- a/src/thread/windows/SDL_systhread.c	Sun Feb 21 17:05:25 2016 -0500
     1.2 +++ b/src/thread/windows/SDL_systhread.c	Sun Feb 21 17:21:29 2016 -0500
     1.3 @@ -199,11 +199,7 @@
     1.4  void
     1.5  SDL_SYS_WaitThread(SDL_Thread * thread)
     1.6  {
     1.7 -#if __WINRT__
     1.8      WaitForSingleObjectEx(thread->handle, INFINITE, FALSE);
     1.9 -#else
    1.10 -    WaitForSingleObject(thread->handle, INFINITE);
    1.11 -#endif
    1.12      CloseHandle(thread->handle);
    1.13  }
    1.14