mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 05:58:13 +00:00
[CRT/INTRIN] Use __forceinline for __INTRIN_INLINE in the clang case. CORE-11799 (#94)
This commit is contained in:
parent
07c7295545
commit
28dd5cfc5e
1 changed files with 2 additions and 3 deletions
|
@ -31,12 +31,11 @@
|
||||||
#ifndef RC_INVOKED
|
#ifndef RC_INVOKED
|
||||||
|
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
#define __ATTRIBUTE_ARTIFICIAL
|
#define __INTRIN_INLINE __forceinline
|
||||||
#else
|
#else
|
||||||
#define __ATTRIBUTE_ARTIFICIAL __attribute__((artificial))
|
#define __ATTRIBUTE_ARTIFICIAL __attribute__((artificial))
|
||||||
#endif
|
|
||||||
|
|
||||||
#define __INTRIN_INLINE extern __inline__ __attribute__((__always_inline__,__gnu_inline__)) __ATTRIBUTE_ARTIFICIAL
|
#define __INTRIN_INLINE extern __inline__ __attribute__((__always_inline__,__gnu_inline__)) __ATTRIBUTE_ARTIFICIAL
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _SIZE_T_DEFINED
|
#ifndef _SIZE_T_DEFINED
|
||||||
#define _SIZE_T_DEFINED
|
#define _SIZE_T_DEFINED
|
||||||
|
|
Loading…
Reference in a new issue