windef.h: Use __thiscall keyword on Clang with MSVC target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1902eba2c6
commit
3acd943275
|
@ -102,7 +102,7 @@ extern "C" {
|
|||
# define __fastcall __stdcall
|
||||
#endif
|
||||
|
||||
#ifndef __thiscall
|
||||
#if (!defined(_MSC_VER) || !defined(__clang__)) && !defined(__thiscall)
|
||||
# define __thiscall __stdcall
|
||||
#endif
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
|
||||
/* thiscall support */
|
||||
|
||||
#if defined(__i386__) && !defined(__MINGW32__)
|
||||
#if defined(__i386__) && !defined(__MINGW32__) && (!defined(_MSC_VER) || !defined(__clang__))
|
||||
|
||||
# ifdef _MSC_VER
|
||||
# define DEFINE_THISCALL_WRAPPER(func,args) \
|
||||
|
|
Loading…
Reference in New Issue