Jacek Caban : msvcrt: Use __ASM_USE_THISCALL_WRAPPER in cxx.h.

Alexandre Julliard julliard at winehq.org
Wed Dec 16 15:53:58 CST 2020


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Dec 14 18:10:11 2020 +0100

msvcrt: Use __ASM_USE_THISCALL_WRAPPER in cxx.h.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msvcrt/cxx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/msvcrt/cxx.h b/dlls/msvcrt/cxx.h
index 42717f9d702..f8fe239b8aa 100644
--- a/dlls/msvcrt/cxx.h
+++ b/dlls/msvcrt/cxx.h
@@ -240,7 +240,7 @@ typedef struct
 
 #endif
 
-#if defined(__i386__) && !defined(__MINGW32__)
+#ifdef __ASM_USE_THISCALL_WRAPPER
 
 #define CALL_VTBL_FUNC(this, off, ret, type, args) ((ret (WINAPI*)type)&vtbl_wrapper_##off)args
 




More information about the wine-cvs mailing list