docker-qBittorrentvpn/patches/main.patch
2018-02-11 21:27:35 -05:00

15 lines
343 B
Diff

--- src/app/main.cpp
+++ src/app/main.cpp
@@ -57,8 +57,9 @@
#ifdef Q_OS_UNIX
#include <signal.h>
-#include <execinfo.h>
-#include "stacktrace.h"
+static inline void print_stacktrace(FILE *out = stderr, unsigned int max_frames = 63) {
+ fprintf(out, "stack trace:\n N/A (%d)", max_frames);
+}
#endif // Q_OS_UNIX
#ifdef STACKTRACE_WIN