Compilation fix for Cygwin

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-06-10 14:45:39 +00:00
parent abc736fd0e
commit 69067986c1
2 changed files with 15 additions and 18 deletions

View File

@@ -198,7 +198,15 @@ wxUint8 MMBoardApp::TestMultimediaCaps()
caps = 0;
#ifdef __UNIX__
#ifdef __WIN32__
// We test the Windows sound support.
dev = new wxSoundStreamWin();
if (dev->GetError() == wxSOUND_NOERROR)
caps |= MM_SOUND_WIN;
delete dev;
#elif defined __UNIX__
// We now test the ESD support
dev = new wxSoundStreamESD();
@@ -221,15 +229,6 @@ wxUint8 MMBoardApp::TestMultimediaCaps()
}
#endif
#endif
#ifdef __WIN32__
// We test the Windows sound support.
dev = new wxSoundStreamWin();
if (dev->GetError() == wxSOUND_NOERROR)
caps |= MM_SOUND_WIN;
delete dev;
#endif
return caps;