From d1506d942626c331250a9811d17f409c5a5b8f61 Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Sun, 11 Feb 2018 22:27:18 -0500 Subject: [PATCH] Update main.patch --- patches/main.patch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/patches/main.patch b/patches/main.patch index e249352..d3e2c26 100644 --- a/patches/main.patch +++ b/patches/main.patch @@ -1,11 +1,14 @@ --- src/app/main.cpp +++ src/app/main.cpp -@@ -57,8 +57,6 @@ +@@ -57,8 +57,9 @@ #ifdef Q_OS_UNIX #include -#include -#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