https://git.reactos.org/?p=reactos.git;a=commitdiff;h=afe203a1a5345a801f23e…
commit afe203a1a5345a801f23ec908dd5ca8470b91f91
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sun Feb 3 17:49:29 2019 +0100
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Tue Feb 12 19:31:33 2019 +0100
[CRT] Don't define _DECLSPEC_I on Clang builds
---
sdk/include/crt/_mingw.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/include/crt/_mingw.h b/sdk/include/crt/_mingw.h
index 203ac56627..7aa8c21cb7 100644
--- a/sdk/include/crt/_mingw.h
+++ b/sdk/include/crt/_mingw.h
@@ -207,7 +207,7 @@ allow GCC to optimize away some EH unwind code, at least in DW2 case.
*/
#define _CRT_UNUSED(x) (void)x
#endif
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && !defined(__clang__)
#define ATTRIB_NORETURN
#define _DECLSPEC_INTRIN_TYPE __declspec(intrin_type)
#else