浏览代码

Windows: Just use WaitForSingleObjectEx() everywhere.

(It's supported on WinXP, no reason to have an #ifdef here...I think.)
Ryan C. Gordon 9 年之前
父节点
当前提交
481a21b025
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/thread/windows/SDL_systhread.c

+ 0 - 4
src/thread/windows/SDL_systhread.c

@@ -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);
 }