소스 검색

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