mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 20:44:15 +00:00
Disable Linux-specific function when compiling for Windows
This commit is contained in:
parent
c5cbda0bbe
commit
639ed40314
@ -352,8 +352,10 @@ void sigAbnormalHandler(int signum)
|
|||||||
reportToUser(msg);
|
reportToUser(msg);
|
||||||
reportToUser(sigName);
|
reportToUser(sigName);
|
||||||
reportToUser("\n");
|
reportToUser("\n");
|
||||||
|
#if !defined Q_OS_WIN
|
||||||
print_stacktrace(); // unsafe
|
print_stacktrace(); // unsafe
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined Q_OS_WIN && !defined DISABLE_GUI
|
#if defined Q_OS_WIN && !defined DISABLE_GUI
|
||||||
StacktraceDialog dlg; // unsafe
|
StacktraceDialog dlg; // unsafe
|
||||||
|
Loading…
x
Reference in New Issue
Block a user