diff options
Diffstat (limited to 'include/llvm/Support/Compiler.h')
-rw-r--r-- | include/llvm/Support/Compiler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h index efd978f..9ff7817 100644 --- a/include/llvm/Support/Compiler.h +++ b/include/llvm/Support/Compiler.h @@ -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 |