docker-qBittorrentvpn/patches/main.patch

15 lines
344 B
Diff
Raw Normal View History

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