mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-25 12:04:58 +00:00
Update main.patch
This commit is contained in:
parent
a79f622aa0
commit
d1506d9426
@ -1,11 +1,14 @@
|
|||||||
--- src/app/main.cpp
|
--- src/app/main.cpp
|
||||||
+++ src/app/main.cpp
|
+++ src/app/main.cpp
|
||||||
@@ -57,8 +57,6 @@
|
@@ -57,8 +57,9 @@
|
||||||
|
|
||||||
#ifdef Q_OS_UNIX
|
#ifdef Q_OS_UNIX
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
-#include <execinfo.h>
|
-#include <execinfo.h>
|
||||||
-#include "stacktrace.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
|
#endif // Q_OS_UNIX
|
||||||
|
|
||||||
#ifdef STACKTRACE_WIN
|
#ifdef STACKTRACE_WIN
|
||||||
|
Loading…
Reference in New Issue
Block a user