diff --git a/include/libunwind-ia64.h b/include/libunwind-ia64.h index adec0bf0..5de84f35 100644 --- a/include/libunwind-ia64.h +++ b/include/libunwind-ia64.h @@ -125,7 +125,7 @@ typedef ucontext_t unw_tdep_context_t; using the "getcontext" name just because it's using libunwind. We can't just use __getcontext() either, because that isn't exported by glibc... */ -#define unw_tdep_getcontext(uc) getcontext(uc) +#define unw_tdep_getcontext(uc) (getcontext (uc), 0) #define unw_tdep_is_fpreg(r) ((unsigned) ((r) - UNW_IA64_FR) < 128)