https://git.reactos.org/?p=reactos.git;a=commitdiff;h=324180a32e9ec14a70a93…
commit 324180a32e9ec14a70a93d31baf40f73b4742064
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Sun Feb 4 12:54:15 2018 +0100
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Sun Feb 4 12:54:32 2018 +0100
[ROSLOAD] Fix clang-cl build.
---
boot/environ/app/rosload/rosload.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/environ/app/rosload/rosload.c b/boot/environ/app/rosload/rosload.c
index 65ec28b2bf..9eda2d31fe 100644
--- a/boot/environ/app/rosload/rosload.c
+++ b/boot/environ/app/rosload/rosload.c
@@ -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;