diff --git a/Source/Core/DolphinWX/Src/Main.cpp b/Source/Core/DolphinWX/Src/Main.cpp index 4c074abcc4..19eab1b3b4 100644 --- a/Source/Core/DolphinWX/Src/Main.cpp +++ b/Source/Core/DolphinWX/Src/Main.cpp @@ -174,7 +174,7 @@ bool DolphinApp::OnInit() #ifdef _WIN32 EXTENDEDTRACEINITIALIZE("."); SetUnhandledExceptionFilter(&MyUnhandledExceptionFilter); -#else +#elif wxUSE_ON_FATAL_EXCEPTION wxHandleFatalExceptions(true); #endif