mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +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
|
||||
# define __forceinline inline __attribute__((__always_inline__))
|
||||
# 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__))
|
||||
# else
|
||||
# define __forceinline extern __inline__ __attribute__((__always_inline__))
|
||||
|
|
Loading…
Reference in a new issue