Skip to content

Commit

Permalink
fix ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
MatusGuy committed Jul 26, 2024
1 parent aeba16e commit 49febb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/supertux/error_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ ErrorHandler::set_handlers()
{
#ifdef WIN32
SetUnhandledExceptionFilter(seh_handler);
#elif defined(UNIX) || 1
#elif defined(UNIX)
signal(SIGSEGV, handle_error);
signal(SIGABRT, handle_error);
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/supertux/error_handler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace ErrorHandler {
void error_dialog_crash(const std::string& stacktrace);
void error_dialog_exception(const std::string& exception = "");

#if WIN32 && 1
#if WIN32
LONG WINAPI seh_handler(_In_ _EXCEPTION_POINTERS* ExceptionInfo);
//CONTEXT* pcontext;
#else
Expand Down

0 comments on commit 49febb3

Please sign in to comment.