40 lines
1002 B
Diff
40 lines
1002 B
Diff
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 <QtCore/QDate>
|
|
#include <QtGui/QGuiApplication>
|
|
|
|
-// this file is used on both Linux & BSD
|
|
-#ifdef Q_OS_LINUX
|
|
-#include <gnu/libc-version.h>
|
|
-#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();
|
|
}
|
|
|