diff --git a/3rd/bee.lua/bee/crash/linux/unwind_linux.cpp b/3rd/bee.lua/bee/crash/linux/unwind_linux.cpp index 8b3077b..750a0e1 100644 --- a/3rd/bee.lua/bee/crash/linux/unwind_linux.cpp +++ b/3rd/bee.lua/bee/crash/linux/unwind_linux.cpp @@ -6,7 +6,7 @@ namespace bee::crash { void unwind(ucontext_t *ctx, uint16_t skip, unwind_callback func, void *ud) noexcept { unw_cursor_t cursor; -#if defined(__aarch64__) +#if defined(__aarch64__) || defined(__arm__) unw_context_t *unw_ctx = (unw_context_t *)ctx; unw_init_local(&cursor, unw_ctx); #else diff --git a/3rd/luamake/bee.lua/bee/crash/unwind_linux.cpp b/3rd/luamake/bee.lua/bee/crash/unwind_linux.cpp index a7a08cc..5abefec 100644 --- a/3rd/luamake/bee.lua/bee/crash/unwind_linux.cpp +++ b/3rd/luamake/bee.lua/bee/crash/unwind_linux.cpp @@ -6,7 +6,7 @@ namespace bee::crash { void unwind(ucontext_t *ctx, uint16_t skip, unwind_callback func, void *ud) noexcept { unw_cursor_t cursor; -#if defined(__aarch64__) +#if defined(__aarch64__) || defined(__arm__) unw_context_t *unw_ctx = (unw_context_t *)ctx; unw_init_local(&cursor, unw_ctx); #else