Fix detection of the compatible libunwind

Broken since 07c964ef3b.
This commit is contained in:
Orivej Desh 2017-11-16 22:16:13 +03:00 committed by alexey-milovidov
parent e6f1262409
commit bedec3a0f4

View File

@ -25,7 +25,7 @@ if (NOT USE_INTERNAL_UNWIND_LIBRARY)
int main () {
ucontext_t context;
unw_cursor_t cursor;
unw_init_local_signal(&cursor, &context);
unw_init_local2(&cursor, &context, UNW_INIT_SIGNAL_FRAME);
return 0;
}
" HAVE_UNWIND_INIT_LOCAL_SIGNAL)