Commit 89773807 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

configure: Fix argument type of unw_step().

parent 85d8d139
......@@ -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;
}
......
......@@ -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 <libunwind.h>]],
[[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 <libunwind.h>]],
[[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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment