mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-14 22:07:54 +00:00
Support: Add __forceinline to Compiler.h on MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115595 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f000a7a212
commit
a0b991be3f
@ -84,8 +84,9 @@
|
||||
// unimplemented errors, just use it in GCC 4.0 and later.
|
||||
#if __GNUC__ > 3
|
||||
#define ALWAYS_INLINE __attribute__((always_inline))
|
||||
#elif defined(_MSC_VER)
|
||||
#define ALWAYS_INLINE __forceinline
|
||||
#else
|
||||
// TODO: No idea how to do this with MSVC.
|
||||
#define ALWAYS_INLINE
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user