mirror of
https://github.com/termux/termux-packages.git
synced 2025-08-06 00:32:31 +00:00
13 lines
208 B
Diff
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;
|