[CRT] Don't define _DECLSPEC_I on Clang builds
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 3 Feb 2019 16:49:29 +0000 (17:49 +0100)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Tue, 12 Feb 2019 18:31:33 +0000 (19:31 +0100)
sdk/include/crt/_mingw.h

index 203ac56..7aa8c21 100644 (file)
@@ -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