Disable Linux-specific function when compiling for Windows

This commit is contained in:
Chocobo1
2022-04-28 18:40:15 +08:00
parent c5cbda0bbe
commit 639ed40314

View File

@@ -352,8 +352,10 @@ void sigAbnormalHandler(int signum)
reportToUser(msg);
reportToUser(sigName);
reportToUser("\n");
#if !defined Q_OS_WIN
print_stacktrace(); // unsafe
#endif
#endif
#if defined Q_OS_WIN && !defined DISABLE_GUI
StacktraceDialog dlg; // unsafe