36 lines
831 B
Diff
36 lines
831 B
Diff
--- a/Telegram/lib_base/base/platform/linux/base_info_linux.cpp 2021-09-04 16:25:46.055482788 +0430
|
|
+++ b/Telegram/lib_base/base/platform/linux/base_info_linux.cpp 2021-09-04 16:31:21.268887787 +0430
|
|
@@ -16,10 +16,6 @@
|
|
#include <QtCore/QDate>
|
|
#include <QtGui/QGuiApplication>
|
|
|
|
-#ifdef Q_OS_LINUX
|
|
-#include <gnu/libc-version.h>
|
|
-#endif // Q_OS_LINUX
|
|
-
|
|
namespace Platform {
|
|
namespace {
|
|
|
|
@@ -109,22 +105,10 @@
|
|
}
|
|
|
|
QString GetLibcName() {
|
|
-#ifdef Q_OS_LINUX
|
|
- return "glibc";
|
|
-#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();
|
|
}
|
|
|