0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-06 00:32:31 +00:00
Files
termux-packages/x11-packages/qt-creator/malloc_trim.patch
2022-11-07 08:17:22 +00:00

13 lines
208 B
Diff

--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -79,6 +79,9 @@
#ifdef Q_OS_LINUX
#include <malloc.h>
+#ifdef __ANDROID__
+#define malloc_trim(pad) (0)
+#endif
#endif
using namespace ExtensionSystem;