1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 11:19:50 +03:00
aports/testing/qt-creator/fix-malloc-trim.patch
2021-12-03 22:38:38 +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
@@ -741,7 +741,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: