From 04afeee9534fdd587a141bd17229539ce620400d Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Wed, 18 Mar 2020 08:17:23 -0700 Subject: [PATCH] crashhandler: enabled mac support --- app/common/crashhandler.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/common/crashhandler.cpp b/app/common/crashhandler.cpp index 4844c9736..27958f543 100644 --- a/app/common/crashhandler.cpp +++ b/app/common/crashhandler.cpp @@ -13,7 +13,7 @@ #include #include #include -#elif defined(Q_OS_LINUX) +#elif defined(Q_OS_MAC) || defined(Q_OS_LINUX) #include #endif @@ -100,9 +100,7 @@ void crash_handler(int sig) { } SymCleanup(process); -#elif defined(Q_OS_MAC) - // FIXME: No Mac backtrace support yet -#elif defined(Q_OS_LINUX) +#elif defined(Q_OS_MAC) || defined(Q_OS_LINUX) void *array[10]; size_t size;