https://git.reactos.org/?p=reactos.git;a=commitdiff;h=28dd5cfc5e26b94d40378…
commit 28dd5cfc5e26b94d4037882a6c64e8b1068d859c
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Oct 28 13:34:43 2017 +0100
[CRT/INTRIN] Use __forceinline for __INTRIN_INLINE in the clang case. CORE-11799
(#94)
---
sdk/include/crt/mingw32/intrin.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/sdk/include/crt/mingw32/intrin.h b/sdk/include/crt/mingw32/intrin.h
index 1c9d20889d..03edc8bfaf 100644
--- a/sdk/include/crt/mingw32/intrin.h
+++ b/sdk/include/crt/mingw32/intrin.h
@@ -31,12 +31,11 @@
#ifndef RC_INVOKED
#ifdef __clang__
-#define __ATTRIBUTE_ARTIFICIAL
+#define __INTRIN_INLINE __forceinline
#else
#define __ATTRIBUTE_ARTIFICIAL __attribute__((artificial))
-#endif
-
#define __INTRIN_INLINE extern __inline__
__attribute__((__always_inline__,__gnu_inline__)) __ATTRIBUTE_ARTIFICIAL
+#endif
#ifndef _SIZE_T_DEFINED
#define _SIZE_T_DEFINED