diff --git a/Telegram/lib_base/base/platform/linux/base_info_linux.cpp b/Telegram/lib_base/base/platform/linux/base_info_linux.cpp index cff7136..ced69bd 100644 --- a/Telegram/lib_base/base/platform/linux/base_info_linux.cpp +++ b/Telegram/lib_base/base/platform/linux/base_info_linux.cpp @@ -12,11 +12,6 @@ #include #include -// this file is used on both Linux & BSD -#ifdef Q_OS_LINUX -#include -#endif // Q_OS_LINUX - namespace Platform { namespace { @@ -124,21 +119,13 @@ QString AutoUpdateKey() { QString GetLibcName() { #ifdef Q_OS_LINUX - return "glibc"; + return "musl"; #endif // Q_OS_LINUX return QString(); } QString GetLibcVersion() { -#ifdef Q_OS_LINUX - static const auto result = [&] { - const auto version = QString::fromLatin1(gnu_get_libc_version()); - return QVersionNumber::fromString(version).isNull() ? QString() : version; - }(); - return result; -#endif // Q_OS_LINUX - return QString(); }