[PATCH 1/2] configure: Fix argument type of unw_step().
Huw Davies
huw at codeweavers.com
Fri Sep 13 03:04:41 CDT 2019
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index dfa6b6ac9c..49676f073b 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 <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
--
2.23.0
More information about the wine-devel
mailing list