mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 12:38:48 +03:00
Fix Backtrace define error for Windows
This commit is contained in:
parent
4a9a35e717
commit
478c3b3e0b
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,7 @@
|
|||
QQmlDebuggingEnabler enabler;
|
||||
#endif
|
||||
|
||||
#if !defined(Q_OS_WINDOWS)
|
||||
#if HAVE_BACKTRACE_SYMBOLS_FD
|
||||
#include <csignal>
|
||||
#include <execinfo.h>
|
||||
|
@ -92,6 +93,7 @@ registerSignalHandlers()
|
|||
std::signal(SIGABRT, &stacktraceHandler);
|
||||
}
|
||||
|
||||
#endif
|
||||
#else
|
||||
|
||||
// No implementation for systems with no stacktrace support.
|
||||
|
|
Loading…
Reference in a new issue