mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-01-23 16:50:29 +01:00
Fix compile errors on Linux
This commit is contained in:
parent
ad6b2f94b9
commit
caa6095aec
2 changed files with 1 additions and 2 deletions
|
@ -244,7 +244,6 @@ x86_get_scratch_loc (struct cursor *c, unw_regnum_t reg)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef UNW_REMOTE_ONLY
|
#ifndef UNW_REMOTE_ONLY
|
||||||
|
|
||||||
HIDDEN void *
|
HIDDEN void *
|
||||||
x86_r_uc_addr (ucontext_t *uc, int reg)
|
x86_r_uc_addr (ucontext_t *uc, int reg)
|
||||||
{
|
{
|
||||||
|
|
|
@ -101,7 +101,7 @@ unw_handle_signal_frame (unw_cursor_t *cursor)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef UNW_REMOTE_ONLY
|
#ifndef UNW_REMOTE_ONLY
|
||||||
static inline void *
|
HIDDEN void *
|
||||||
x86_64_r_uc_addr (ucontext_t *uc, int reg)
|
x86_64_r_uc_addr (ucontext_t *uc, int reg)
|
||||||
{
|
{
|
||||||
void *addr;
|
void *addr;
|
||||||
|
|
Loading…
Reference in a new issue