Windows: Add fallback for DoOSAbort implementation

This commit is contained in:
Jonathan G Rennison
2023-06-11 17:02:46 +01:00
parent aa8b60da15
commit 7a9cf87ff8

View File

@@ -89,6 +89,9 @@ void ShowOSErrorBox(const char *buf, bool system)
void NORETURN DoOSAbort() void NORETURN DoOSAbort()
{ {
RaiseException(0xE1212012, 0, 0, nullptr); RaiseException(0xE1212012, 0, 0, nullptr);
/* This fallback should not be reached */
abort();
} }
void OSOpenBrowser(const char *url) void OSOpenBrowser(const char *url)