diff --git a/configure b/configure index 109d2423a28..b54b2252a7b 100755 --- a/configure +++ b/configure @@ -14905,7 +14905,7 @@ else int main () { -unw_context_t context; unw_step( &context ); +unw_cursor_t cursor; unw_step( &cursor ); ; return 0; } @@ -14936,7 +14936,7 @@ else int main () { -unw_context_t context; unw_step( &context ); +unw_cursor_t cursor; unw_step( &cursor ); ; return 0; } diff --git a/configure.ac b/configure.ac index dfa6b6ac9cb..49676f073bc 100644 --- a/configure.ac +++ b/configure.ac @@ -1697,7 +1697,7 @@ then [AC_CACHE_CHECK([for unw_step],wine_cv_have_unw_step, [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define UNW_LOCAL_ONLY #include ]], - [[unw_context_t context; unw_step( &context );]])], + [[unw_cursor_t cursor; unw_step( &cursor );]])], [wine_cv_have_unw_step="yes"],[wine_cv_have_unw_step="no"])]) if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS" then @@ -1706,7 +1706,7 @@ then AC_CACHE_CHECK([for unw_step in libunwind],wine_cv_have_libunwind_unw_step, [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define UNW_LOCAL_ONLY #include ]], - [[unw_context_t context; unw_step( &context );]])], + [[unw_cursor_t cursor; unw_step( &cursor );]])], [wine_cv_have_libunwind_unw_step="yes"], [wine_cv_have_libunwind_unw_step="no"])]) LIBS=$save_libs