https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cfe0f7f7141baf95aa0ac…
commit cfe0f7f7141baf95aa0ac2b4c18aca3bf18149ac
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Mon Oct 30 21:54:54 2017 +0100
[NMIDEBUG] Do not take the msvc codepath in NmiClearFlag(). CORE-11799 (#94)
---
drivers/base/nmidebug/nmidebug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/nmidebug/nmidebug.c b/drivers/base/nmidebug/nmidebug.c
index 9400fd416f..ecbf58eb8d 100644
--- a/drivers/base/nmidebug/nmidebug.c
+++ b/drivers/base/nmidebug/nmidebug.c
@@ -22,7 +22,7 @@ NmiClearFlag(VOID)
((PCHAR)&KiBugCheckData[4])[0] -= (NmiBegin[3] | NmiBegin[7]);
((PCHAR)&KiBugCheckData[4])[3] |= 1;
#ifdef _M_IX86
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && !defined(__clang__)
__asm
{
rcr KiBugCheckData[4], 8