mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-22 23:50:53 +00:00
Build only if DSOUND_SUPPORT is defined
This commit is contained in:
parent
1fcf81fbc4
commit
3825d666d8
1 changed files with 7 additions and 2 deletions
|
@ -19,11 +19,14 @@
|
|||
*/
|
||||
|
||||
|
||||
#define INITGUID
|
||||
|
||||
#include "fluid_synth.h"
|
||||
#include "fluid_adriver.h"
|
||||
#include "fluid_settings.h"
|
||||
|
||||
#if DSOUND_SUPPORT
|
||||
|
||||
#define INITGUID
|
||||
|
||||
#include <mmsystem.h>
|
||||
#include <dsound.h>
|
||||
|
||||
|
@ -366,3 +369,5 @@ char* fluid_win32_error(HRESULT hr) {
|
|||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
#endif /* DSOUND_SUPPORT */
|
||||
|
|
Loading…
Reference in a new issue