Add an MSVC branch to MONO_ALWAYS_INLINE.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Tue, 9 Jul 2013 19:34:44 +0000 (21:34 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Tue, 9 Jul 2013 20:17:12 +0000 (22:17 +0200)
mono/utils/mono-compiler.h

index 52e8215d5775b0439945154b8bfc56466402eb66..56f5ea90addbdf83bfe8f6a4440d71a568b23b8e 100644 (file)
 
 #ifdef __GNUC__
 #define MONO_ALWAYS_INLINE __attribute__((always_inline))
+#elif defined(_MSC_VER)
+#define MONO_ALWAYS_INLINE __forceinline
 #else
 #define MONO_ALWAYS_INLINE
 #endif