Huw Davies : configure: Fix argument type of unw_step().

Alexandre Julliard julliard at winehq.org
Fri Sep 13 15:34:19 CDT 2019


Module: wine
Branch: master
Commit: 89773807f2b61fcaef88e11578a3adb6c602d3ad
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=89773807f2b61fcaef88e11578a3adb6c602d3ad

Author: Huw Davies <huw at codeweavers.com>
Date:   Fri Sep 13 09:04:41 2019 +0100

configure: Fix argument type of unw_step().

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 configure    | 4 ++--
 configure.ac | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index 109d2423a2..b54b2252a7 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 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




More information about the wine-cvs mailing list