Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Fix test compilation on musl libc
Sertonix Norson633bc1922b51
diff --git a/libs/image/tests/kis_paint_device_test.cpp b/libs/image/tests/kis_paint_device_test.cppindex eee19e331c..525e0d7e3b 100644--- a/libs/image/tests/kis_paint_device_test.cpp+++ b/libs/image/tests/kis_paint_device_test.cpp@@ -2484,7 +2484,7 @@ void KisPaintDeviceTest::stressTestMemoryFragmentation()qDebug() << "Iteration:" << i;-#ifdef Q_OS_LINUX+#ifdef __GLIBC__struct mallinfo info = mallinfo();qDebug() << "Allocated on heap:" << (info.arena >> 20) << "MiB";qDebug() << "Mmapped regions:" << info.hblks << (info.hblkhd >> 20) << "MiB";