configure: Fix argument type of unw_step().

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2019-09-13 09:04:41 +01:00 committed by Alexandre Julliard
parent 85d8d13904
commit 89773807f2
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -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;
}

View File

@ -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