From 3da0bb728efcddf82b0a368eb2d014dc4bfafaf6 Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Sun, 11 Feb 2018 21:25:17 -0500 Subject: [PATCH] Update main.patch --- patches/main.patch | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/patches/main.patch b/patches/main.patch index 6df76c5..d639987 100644 --- a/patches/main.patch +++ b/patches/main.patch @@ -2,8 +2,13 @@ +++ src/app/main.cpp @@ -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