riched20: Use __ASM_USE_THISCALL_WRAPPER macro.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
270599cc81
commit
650aebadb7
|
@ -276,7 +276,7 @@ void ME_InitTableDef(ME_TextEditor *editor, struct RTFTable *tableDef) DECLSPEC_
|
|||
|
||||
/* txthost.c */
|
||||
ITextHost *ME_CreateTextHost(HWND hwnd, CREATESTRUCTW *cs, BOOL bEmulateVersion10) DECLSPEC_HIDDEN;
|
||||
#if defined(__i386__) && !defined(__MINGW32__) /* Use wrappers to perform thiscall on i386 */
|
||||
#ifdef __ASM_USE_THISCALL_WRAPPER
|
||||
#define TXTHOST_VTABLE(This) (&itextHostStdcallVtbl)
|
||||
#else /* __i386__ */
|
||||
#define TXTHOST_VTABLE(This) (This)->lpVtbl
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
#include "wine/heap.h"
|
||||
#include "wine/list.h"
|
||||
|
||||
#if defined(__i386__) && !defined(__MINGW32__)
|
||||
#ifdef __ASM_USE_THISCALL_WRAPPER
|
||||
extern const struct ITextHostVtbl itextHostStdcallVtbl DECLSPEC_HIDDEN;
|
||||
#endif /* __i386__ */
|
||||
|
||||
|
|
|
@ -522,7 +522,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetSelectionBarWidth(ITextHos
|
|||
}
|
||||
|
||||
|
||||
#if defined(__i386__) && !defined(__MINGW32__) /* thiscall functions are i386-specific */
|
||||
#ifdef __ASM_USE_THISCALL_WRAPPER
|
||||
|
||||
#define STDCALL(func) (void *) __stdcall_ ## func
|
||||
#ifdef _MSC_VER
|
||||
|
|
Loading…
Reference in New Issue