riched20/tests: Don't use thiscall wrappers on clang MSVC target.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2020-04-27 02:31:25 +02:00 committed by Alexandre Julliard
parent 95e117b3dc
commit 270599cc81
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ static PCreateTextServices pCreateTextServices;
/* Use a special table for x86 machines to convert the thiscall /* Use a special table for x86 machines to convert the thiscall
* calling convention. This isn't needed on other platforms. */ * calling convention. This isn't needed on other platforms. */
#if defined(__i386__) && !defined(__MINGW32__) #if defined(__i386__) && !defined(__MINGW32__) && (!defined(_MSC_VER) || !defined(__clang__))
static ITextServicesVtbl itextServicesStdcallVtbl; static ITextServicesVtbl itextServicesStdcallVtbl;
#define TXTSERV_VTABLE(This) (&itextServicesStdcallVtbl) #define TXTSERV_VTABLE(This) (&itextServicesStdcallVtbl)
#else /* __i386__ */ #else /* __i386__ */
@ -492,7 +492,7 @@ typedef struct
static void setup_thiscall_wrappers(void) static void setup_thiscall_wrappers(void)
{ {
#if defined(__i386__) && !defined(__MINGW32__) #if defined(__i386__) && !defined(__MINGW32__) && (!defined(_MSC_VER) || !defined(__clang__))
void** pVtable; void** pVtable;
void** pVtableEnd; void** pVtableEnd;
THISCALL_TO_STDCALL_THUNK *thunk; THISCALL_TO_STDCALL_THUNK *thunk;