diff --git a/src/main.cpp b/src/main.cpp index 7064589f7..808dac51f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -135,7 +135,7 @@ void sigsegvHandler(int) { std::cerr << "\n\n*************************************************************\n"; std::cerr << "Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n"; print_stacktrace(); - std::raise(SIGSEGV); + raise(SIGSEGV); } void sigabrtHandler(int) { signal(SIGABRT, 0); @@ -143,7 +143,7 @@ void sigabrtHandler(int) { std::cerr << "\n\n*************************************************************\n"; std::cerr << "Catching SIGABRT, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n"; print_stacktrace(); - std::raise(SIGABRT); + raise(SIGABRT); } #endif