From 89773807f2b61fcaef88e11578a3adb6c602d3ad Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Fri, 13 Sep 2019 09:04:41 +0100 Subject: [PATCH] configure: Fix argument type of unw_step(). Signed-off-by: Huw Davies Signed-off-by: Alexandre Julliard --- configure | 4 ++-- configure.ac | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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