projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a552ae
)
Add an MSVC branch to MONO_ALWAYS_INLINE.
author
Alex Rønne Petersen
<alexrp@xamarin.com>
Tue, 9 Jul 2013 19:34:44 +0000
(21:34 +0200)
committer
Alex Rønne Petersen
<alexrp@xamarin.com>
Tue, 9 Jul 2013 20:17:12 +0000
(22:17 +0200)
mono/utils/mono-compiler.h
patch
|
blob
|
history
diff --git
a/mono/utils/mono-compiler.h
b/mono/utils/mono-compiler.h
index 52e8215d5775b0439945154b8bfc56466402eb66..56f5ea90addbdf83bfe8f6a4440d71a568b23b8e 100644
(file)
--- a/
mono/utils/mono-compiler.h
+++ b/
mono/utils/mono-compiler.h
@@
-226,6
+226,8
@@
#ifdef __GNUC__
#define MONO_ALWAYS_INLINE __attribute__((always_inline))
+#elif defined(_MSC_VER)
+#define MONO_ALWAYS_INLINE __forceinline
#else
#define MONO_ALWAYS_INLINE
#endif