1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/qt-creator/fix-malloc-trim.patch
Alexey Minnekhanov ba1d212d4c testing/qt-creator: upgrade to 4.15.1
* switch to cmake buildsystem
* build with clangbackend support
* build with KF5SyntaxHightlighting
2021-06-25 11:18:53 +00:00

13 lines
460 B
Diff

diff --git a/src/app/main.cpp b/src/app/main.cpp
index 248fa8efef..4c27f65625 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -782,7 +782,7 @@ int main(int argc, char **argv)
// shutdown plugin manager on the exit
QObject::connect(&app, &QCoreApplication::aboutToQuit, &pluginManager, &PluginManager::shutdown);
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) && defined(__GLIBC__)
class MemoryTrimmer : public QObject
{
public: