mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 17:56:06 +00:00
[CRT] Fix __forceinline definition for clang
This commit is contained in:
parent
f96e47db43
commit
3936c3f19e
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ allow GCC to optimize away some EH unwind code, at least in DW2 case. */
|
||||||
# ifdef __cplusplus
|
# ifdef __cplusplus
|
||||||
# define __forceinline inline __attribute__((__always_inline__))
|
# define __forceinline inline __attribute__((__always_inline__))
|
||||||
# else
|
# else
|
||||||
# if ( __MINGW_GNUC_PREREQ(4, 3) && __STDC_VERSION__ >= 199901L)
|
# if (( __MINGW_GNUC_PREREQ(4, 3) && __STDC_VERSION__ >= 199901L) || defined(__clang__))
|
||||||
# define __forceinline extern inline __attribute__((__always_inline__,__gnu_inline__))
|
# define __forceinline extern inline __attribute__((__always_inline__,__gnu_inline__))
|
||||||
# else
|
# else
|
||||||
# define __forceinline extern __inline__ __attribute__((__always_inline__))
|
# define __forceinline extern __inline__ __attribute__((__always_inline__))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue