[ROSLOAD] Fix clang-cl build.

This commit is contained in:
Thomas Faber 2018-02-04 12:54:15 +01:00
parent c7fc2ef4d2
commit 324180a32e
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -344,7 +344,7 @@ ArchRestoreProcessorFeatures (
if (ArchXCr0BitsToClear)
{
/* Clear them */
#ifdef _MSC_VER
#if defined(_MSC_VER) && !defined(__clang__)
__xsetbv(0, __xgetbv(0) & ~ArchXCr0BitsToClear);
#endif
ArchXCr0BitsToClear = 0;