MSVC: [skip ci] make working with C++17 compiler

This commit is contained in:
wmayer
2020-11-09 16:13:34 +01:00
parent 08efd286df
commit 59c50053a6
4 changed files with 10 additions and 4 deletions

View File

@@ -1704,7 +1704,7 @@ void Application::init(int argc, char ** argv)
std::signal(SIGSEGV,segmentation_fault_handler);
std::signal(SIGABRT,segmentation_fault_handler);
std::set_terminate(unhandled_exception_handler);
std::set_unexpected(unexpection_error_handler);
::set_unexpected(unexpection_error_handler);
#elif defined(FC_OS_LINUX)
std::signal(SIGSEGV,segmentation_fault_handler);
#endif