kid3: fix musl build

This commit is contained in:
Duncaen 2019-05-19 00:14:14 +02:00
parent fe5c2ab395
commit b98d38cca8

View file

@ -0,0 +1,11 @@
--- src/core/model/kid3application.cpp.orig
+++ src/core/model/kid3application.cpp
@@ -918,7 +918,7 @@
taggedFile->closeFileHandle();
}
}
-#if defined Q_OS_LINUX && !defined Q_OS_ANDROID
+#if defined Q_OS_LINUX && defined __GLIBC__
if (::malloc_trim(0)) {
qDebug("Memory released by malloc_trim()");
}