AUDIO: Fix MSVC warnings
Fixes warning C4530: C++ exception handler used, but unwind semantics are not enabled by disabling exceptions in the STL since ScummVM doesn't support them
This commit is contained in:
parent
2365b678b3
commit
369ba0c4b7
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,10 @@
|
|||
|
||||
#include "internals.h"
|
||||
|
||||
// Disable MSVC STL exceptions
|
||||
#ifdef _MSC_VER
|
||||
#define _HAS_EXCEPTIONS 0
|
||||
#endif
|
||||
#include "FileStream.h"
|
||||
|
||||
namespace MT32Emu {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue