blob: 3a7dff70dc5a6a098653d37909c1de4d343dab4c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
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();
}
|