Merge branch 'arcpatch-D13446'

This commit is contained in:
Nicolas Fella 2018-06-09 22:47:03 +02:00
commit c8930a3327

View file

@ -22,7 +22,7 @@
Q_LOGGING_CATEGORY(KDECONNECT_CORE, "kdeconnect.core")
#ifdef Q_OS_LINUX
#if defined(__GNU_LIBRARY__)
#include <execinfo.h>
#include <stdlib.h>
#include <unistd.h>
@ -30,7 +30,7 @@ Q_LOGGING_CATEGORY(KDECONNECT_CORE, "kdeconnect.core")
void logBacktrace()
{
#ifdef Q_OS_LINUX
#if defined(__GNU_LIBRARY__)
void* array[32];
size_t size = backtrace (array, 32);
char** strings = backtrace_symbols (array, size);