Browse Source

Disable Linux-specific function when compiling for Windows

adaptive-webui-19844
Chocobo1 3 years ago
parent
commit
639ed40314
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/app/main.cpp

2
src/app/main.cpp

@ -352,8 +352,10 @@ void sigAbnormalHandler(int signum) @@ -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

Loading…
Cancel
Save