mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user