diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-21 13:24:32 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-21 13:24:32 +0000 |
commit | e5ff8c1982232a3f8b54ad11fd5b681e73f31e85 (patch) | |
tree | 31273e08ac860d934d5c34ea4607030091e3c00c /win32 | |
parent | 021ba2ce0a9b3cdc08e008fa4196bf4ab52f54e7 (diff) | |
download | ruby-e5ff8c1982232a3f8b54ad11fd5b681e73f31e85.tar.gz |
* configure.in (ALWAYS_INLINE): force compilers the function inlined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 8a235d7ce2..d2f89eea5f 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -596,6 +596,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define DEPRECATED_TYPE(mesg, x) __declspec(deprecated mesg) x #define NOINLINE(x) __declspec(noinline) x !endif +#define ALWAYS_INLINE(x) __forceinline x #define UNREACHABLE __assume(0) #define ASSUME(x) __assume(!!(x)) #define FUNC_STDCALL(x) __stdcall x |