0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-19 16:52:16 +00:00
termux-packages/packages/strace/sigreturn.c.patch
2023-02-27 10:44:58 +09:00

19 lines
639 B
Diff

--- strace-5.11/src/sigreturn.c 2021-02-16 08:00:00.000000000 +0000
+++ strace-5.11.mod/src/sigreturn.c 2021-02-24 13:57:17.100000000 +0000
@@ -15,6 +15,7 @@
# include <asm/sigcontext.h>
#endif
+#if !(defined(__ANDROID__) && (defined(__arm__) || defined(__aarch64__)))
/* The following function might be unused, hence the inline qualifier. */
static inline void
print_sigmask_addr_size(const void *const addr, const unsigned int size)
@@ -24,6 +25,7 @@
tprints_string(sprintsigmask_n("", addr, size));
tprint_struct_end();
}
+#endif
#define tprintsigmask_addr(mask_) \
print_sigmask_addr_size((mask_), sizeof(mask_))