Commit 3acd9432 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

windef.h: Use __thiscall keyword on Clang with MSVC target.

parent 1902eba2
......@@ -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) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment