diff --git a/ext/libclementine-common/core/logging.cpp b/ext/libclementine-common/core/logging.cpp index 8012c0c..ce77c77 100644 --- ext/libclementine-common/core/logging.cpp +++ ext/libclementine-common/core/logging.cpp @@ -21,7 +21,7 @@ #include #include -#ifdef Q_OS_UNIX +#if defined Q_OS_UNIX && defined __GLIBC__ #include #endif @@ -315,7 +315,7 @@ QString DemangleSymbol(const QString& symbol) { } void DumpStackTrace() { -#ifdef Q_OS_UNIX +#if defined Q_OS_UNIX && defined __GLIBC__ void* callstack[128]; int callstack_size = backtrace(reinterpret_cast(&callstack), sizeof(callstack));