wine/asm.h: Introduce __ASM_USE_THISCALL_WRAPPER macro.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2020-04-27 02:30:26 +02:00 committed by Alexandre Julliard
parent 98682cfd01
commit aa6c442cac
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@
#if defined(__i386__) && !defined(__MINGW32__) && (!defined(_MSC_VER) || !defined(__clang__)) #if defined(__i386__) && !defined(__MINGW32__) && (!defined(_MSC_VER) || !defined(__clang__))
#define __ASM_USE_THISCALL_WRAPPER
# ifdef _MSC_VER # ifdef _MSC_VER
# define DEFINE_THISCALL_WRAPPER(func,args) \ # define DEFINE_THISCALL_WRAPPER(func,args) \
__declspec(naked) void __thiscall_##func(void) \ __declspec(naked) void __thiscall_##func(void) \