[PATCH] windef.h: Don't define __thiscall and __fastcall on MSVC.

Jacek Caban jacek at codeweavers.com
Thu Apr 23 06:25:55 CDT 2020


On 23.04.2020 09:19, Alexandre Julliard wrote:
> Jacek Caban <jacek at codeweavers.com> writes:
>
>> They are keywords.
>>
>> Signed-off-by: Jacek Caban <jacek at codeweavers.com>
>> ---
>>   include/windef.h | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
> Wasn't there an issue with __thiscall only working in C++?


I retested and the actual MSVC indeed doesn't support __thiscall keyword 
in C. Clang with MSVC target can support it, through. I will send a new 
version.


Thanks,

Jacek




More information about the wine-devel mailing list