From 7a9cf87ff8e98868cd109125fa7e2d964b6eaa90 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 11 Jun 2023 17:02:46 +0100 Subject: [PATCH] Windows: Add fallback for DoOSAbort implementation --- src/os/windows/win32.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/os/windows/win32.cpp b/src/os/windows/win32.cpp index 00acc6ca55..fe46fa36bf 100644 --- a/src/os/windows/win32.cpp +++ b/src/os/windows/win32.cpp @@ -89,6 +89,9 @@ void ShowOSErrorBox(const char *buf, bool system) void NORETURN DoOSAbort() { RaiseException(0xE1212012, 0, 0, nullptr); + + /* This fallback should not be reached */ + abort(); } void OSOpenBrowser(const char *url)