[PATCH] asm: Use SEH assembly when building with clang in MSVC mode

Jacek Caban jacek at codeweavers.com
Sun Dec 20 05:32:58 CST 2020


Signed-off-by: Jacek Caban <jacek at codeweavers.com>

On 18.12.2020 23:37, Martin Storsjo wrote:
> In MSVC mode, the __SEH__ macro isn't defined, but the .seh directives
> are supported in assembly. In these cases, we have to hardcode which
> architectures we know clang supports SEH directives in as it's not
> exposed otherwise.
>
> Signed-off-by: Martin Storsjo<martin at martin.st>


Nice. I recall having build problems with something like that, but your 
patch works fine now. Maybe it was only about x86.


Thanks,

Jacek




More information about the wine-devel mailing list