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:
SupSuper 2019-05-09 02:35:08 +01:00 committed by Paul Gilbert
parent 2365b678b3
commit 369ba0c4b7

View File

@ -21,6 +21,10 @@
#include "internals.h"
// Disable MSVC STL exceptions
#ifdef _MSC_VER
#define _HAS_EXCEPTIONS 0
#endif
#include "FileStream.h"
namespace MT32Emu {