mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Replace deprecated header 'signal.h' with 'csignal'
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
|
|
||||||
|
#include <csignal>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
#if !defined Q_OS_WIN && !defined Q_OS_HAIKU
|
#if !defined Q_OS_WIN && !defined Q_OS_HAIKU
|
||||||
@@ -59,7 +60,6 @@ Q_IMPORT_PLUGIN(QICOPlugin)
|
|||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#endif // DISABLE_GUI
|
#endif // DISABLE_GUI
|
||||||
|
|
||||||
#include <signal.h>
|
|
||||||
#ifdef STACKTRACE
|
#ifdef STACKTRACE
|
||||||
#ifdef Q_OS_UNIX
|
#ifdef Q_OS_UNIX
|
||||||
#include "stacktrace.h"
|
#include "stacktrace.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user