Skip to content

Commit

Permalink
[libunwind] fix -Wc++98-compat-extra-semi without _LIBUNWIND_HIDE_SYM…
Browse files Browse the repository at this point in the history
…BOLS
  • Loading branch information
nico committed May 31, 2021
1 parent 1288ada commit 2fc05fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libunwind/src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@

#if defined(__APPLE__)
#if defined(_LIBUNWIND_HIDE_SYMBOLS)
#define _LIBUNWIND_ALIAS_VISIBILITY(name) __asm__(".private_extern " name)
#define _LIBUNWIND_ALIAS_VISIBILITY(name) __asm__(".private_extern " name);
#else
#define _LIBUNWIND_ALIAS_VISIBILITY(name)
#endif
#define _LIBUNWIND_WEAK_ALIAS(name, aliasname) \
__asm__(".globl " SYMBOL_NAME(aliasname)); \
__asm__(SYMBOL_NAME(aliasname) " = " SYMBOL_NAME(name)); \
_LIBUNWIND_ALIAS_VISIBILITY(SYMBOL_NAME(aliasname));
_LIBUNWIND_ALIAS_VISIBILITY(SYMBOL_NAME(aliasname))
#elif defined(__ELF__)
#define _LIBUNWIND_WEAK_ALIAS(name, aliasname) \
extern "C" _LIBUNWIND_EXPORT __typeof(name) aliasname \
Expand Down

0 comments on commit 2fc05fd

Please sign in to comment.