mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
Fix compilation with gcc 4.5
This commit is contained in:
parent
331c15b76c
commit
63ec1e618e
1 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ void sigsegvHandler(int) {
|
||||||
std::cerr << "\n\n*************************************************************\n";
|
std::cerr << "\n\n*************************************************************\n";
|
||||||
std::cerr << "Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n";
|
std::cerr << "Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n";
|
||||||
print_stacktrace();
|
print_stacktrace();
|
||||||
std::raise(SIGSEGV);
|
raise(SIGSEGV);
|
||||||
}
|
}
|
||||||
void sigabrtHandler(int) {
|
void sigabrtHandler(int) {
|
||||||
signal(SIGABRT, 0);
|
signal(SIGABRT, 0);
|
||||||
|
@ -143,7 +143,7 @@ void sigabrtHandler(int) {
|
||||||
std::cerr << "\n\n*************************************************************\n";
|
std::cerr << "\n\n*************************************************************\n";
|
||||||
std::cerr << "Catching SIGABRT, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n";
|
std::cerr << "Catching SIGABRT, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n";
|
||||||
print_stacktrace();
|
print_stacktrace();
|
||||||
std::raise(SIGABRT);
|
raise(SIGABRT);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue