File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 51
51
ErrorHandler::set_handlers ()
52
52
{
53
53
#ifdef WIN32
54
- SetUnhandledExceptionFilter (seh_handler );
54
+ SetUnhandledExceptionFilter (supertux_seh_handler );
55
55
#elif defined(UNIX)
56
56
signal (SIGSEGV, handle_error);
57
57
signal (SIGABRT, handle_error);
@@ -278,8 +278,8 @@ ErrorHandler::get_system_info()
278
278
}
279
279
280
280
#ifdef WIN32
281
- LONG
282
- ErrorHandler::seh_handler (_EXCEPTION_POINTERS* ExceptionInfo)
281
+ LONG WINAPI
282
+ ErrorHandler::supertux_seh_handler (_EXCEPTION_POINTERS* ExceptionInfo)
283
283
{
284
284
pcontext = ExceptionInfo->ContextRecord ;
285
285
error_dialog_crash (get_stacktrace ());
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ namespace ErrorHandler {
34
34
void error_dialog_exception (const std::string& exception = " " );
35
35
36
36
#ifdef WIN32
37
- LONG WINAPI seh_handler (_In_ _EXCEPTION_POINTERS* ExceptionInfo);
37
+ LONG WINAPI supertux_seh_handler (_In_ _EXCEPTION_POINTERS* ExceptionInfo);
38
38
// CONTEXT* pcontext;
39
39
#else
40
40
[[ noreturn ]] void handle_error (int sig);
You can’t perform that action at this time.
0 commit comments