mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-25 05:00:21 +00:00
14 lines
271 B
Diff
14 lines
271 B
Diff
--- a/common/server/signals.cpp
|
|
+++ b/common/server/signals.cpp
|
|
@@ -224,6 +224,10 @@
|
|
}
|
|
|
|
|
|
+#ifdef __ANDROID__
|
|
+#define valloc(size) memalign(sysconf(_SC_PAGESIZE),size)
|
|
+#endif
|
|
+
|
|
void set_debug_handlers() {
|
|
stack_t stack;
|
|
int res = sigaltstack(nullptr, &stack);
|