Windows: Just use WaitForSingleObjectEx() everywhere.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 21 Feb 2016 17:21:29 -0500
changeset 10088 33bee97dbcbb
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
--- a/src/thread/windows/SDL_systhread.c	Sun Feb 21 17:05:25 2016 -0500
+++ b/src/thread/windows/SDL_systhread.c	Sun Feb 21 17:21:29 2016 -0500
@@ -199,11 +199,7 @@
 void
 SDL_SYS_WaitThread(SDL_Thread * thread)
 {
-#if __WINRT__
     WaitForSingleObjectEx(thread->handle, INFINITE, FALSE);
-#else
-    WaitForSingleObject(thread->handle, INFINITE);
-#endif
     CloseHandle(thread->handle);
 }