[CRT/INTRIN] Use __forceinline for __INTRIN_INLINE in the clang case. CORE-11799 (#94)

This commit is contained in:
Amine Khaldi 2017-10-28 13:34:43 +01:00
parent 07c7295545
commit 28dd5cfc5e

View file

@ -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