crashhandler: enabled mac support

This commit is contained in:
itsmattkc
2020-03-18 08:17:23 -07:00
parent 4f7fcce367
commit 04afeee953
+2 -4
View File
@@ -13,7 +13,7 @@
#include <DbgHelp.h>
#include <stdio.h>
#include <stdlib.h>
#elif defined(Q_OS_LINUX)
#elif defined(Q_OS_MAC) || defined(Q_OS_LINUX)
#include <execinfo.h>
#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;