Fix Linux build?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3932 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Nolan Check 2009-08-02 22:02:16 +00:00
parent b49a75366d
commit d68303219c

View File

@ -275,7 +275,11 @@ void Shutdown()
{ {
g_dvdQuitSignal = true; g_dvdQuitSignal = true;
g_dvdAlert.Set(); g_dvdAlert.Set();
#ifdef _WIN32
g_dvdThread->WaitForDeath(3000); g_dvdThread->WaitForDeath(3000);
#else
g_dvdThread->WaitForDeath();
#endif
delete g_dvdThread; delete g_dvdThread;
g_dvdThread = NULL; g_dvdThread = NULL;