diff options
Diffstat (limited to 'games/openmw/files/patch-components_crashcatcher_crashcatcher.cpp')
-rw-r--r-- | games/openmw/files/patch-components_crashcatcher_crashcatcher.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/games/openmw/files/patch-components_crashcatcher_crashcatcher.cpp b/games/openmw/files/patch-components_crashcatcher_crashcatcher.cpp new file mode 100644 index 000000000000..7d1fc2f20462 --- /dev/null +++ b/games/openmw/files/patch-components_crashcatcher_crashcatcher.cpp @@ -0,0 +1,29 @@ +--- components/crashcatcher/crashcatcher.cpp.orig 2025-07-01 11:41:15 UTC ++++ components/crashcatcher/crashcatcher.cpp +@@ -95,6 +95,8 @@ namespace + { ILL_PRVREG, "Privileged register" }, + { ILL_COPROC, "Coprocessor error" }, + { ILL_BADSTK, "Internal stack error" }, ++#else ++ { 0, nullptr }, + #endif + }; + +@@ -113,6 +115,8 @@ namespace + #ifndef __FreeBSD__ + { SEGV_MAPERR, "Address not mapped to object" }, + { SEGV_ACCERR, "Invalid permissions for mapped object" }, ++#else ++ { 0, nullptr }, + #endif + }; + +@@ -121,6 +125,8 @@ namespace + { BUS_ADRALN, "Invalid address alignment" }, + { BUS_ADRERR, "Non-existent physical address" }, + { BUS_OBJERR, "Object specific hardware error" }, ++#else ++ { 0, nullptr }, + #endif + }; + |