mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-22 23:47:39 +01:00
(unw_addr_space): If HAVE_ATOMIC_OPS_H is defined, declare cache_generation
of type AO_T. This is a temporary work-around until atomic_ops.h supports atomic ops on 32-bit variables. (Logical change 1.123)
This commit is contained in:
parent
92b48f5fe8
commit
8e36032bc5
1 changed files with 4 additions and 0 deletions
|
@ -93,7 +93,11 @@ struct unw_addr_space
|
|||
int big_endian;
|
||||
int abi; /* abi < 0 => unknown, 0 => SysV, 1 => HP-UX, 2 => Windows */
|
||||
unw_caching_policy_t caching_policy;
|
||||
#ifdef HAVE_ATOMIC_OPS_H
|
||||
AO_T cache_generation;
|
||||
#else
|
||||
uint32_t cache_generation;
|
||||
#endif
|
||||
unw_word_t dyn_generation; /* see dyn-common.h */
|
||||
unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */
|
||||
|
||||
|
|
Loading…
Reference in a new issue