mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
hack for clang compiling on windows, as it can't tell that calling ::RaiseException will prevent the function from returning. (nw)
This commit is contained in:
parent
3928db3a23
commit
31eed6d49f
@ -20,6 +20,7 @@ namespace Microsoft {
|
||||
|
||||
inline void DECLSPEC_NORETURN RaiseException(HRESULT hr, DWORD flags = EXCEPTION_NONCONTINUABLE) throw() {
|
||||
::RaiseException(static_cast<DWORD>(hr), flags, 0, NULL);
|
||||
throw std::exception();
|
||||
}
|
||||
|
||||
template <bool b, typename T = void>
|
||||
|
Loading…
Reference in New Issue
Block a user