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>
feature/deterministic
Jacek Caban 2020-04-23 15:40:54 +02:00 committed by Alexandre Julliard
parent 1902eba2c6
commit 3acd943275
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ extern "C" {
# define __fastcall __stdcall
#endif
#ifndef __thiscall
#if (!defined(_MSC_VER) || !defined(__clang__)) && !defined(__thiscall)
# define __thiscall __stdcall
#endif

View File

@ -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) \