aboutsummaryrefslogtreecommitdiffstats
path: root/include/ruby/defines.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-01 01:05:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-01 01:05:48 +0000
commitff113d52f799d433b6d5d96f86944d2d761e3530 (patch)
treee578c9cded5ee54d954d5bfa28f6517633b7ddd4 /include/ruby/defines.h
parent586c174922fc3be5181a59585ec27a75f6b29a1c (diff)
downloadruby-ff113d52f799d433b6d5d96f86944d2d761e3530.tar.gz
configure.in: FUNC_UNOPTIMIZED
* configure.in: check if optimize pragma is supported. * include/ruby/defines.h (FUNC_UNOPTIMIZED): fallback definition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/defines.h')
-rw-r--r--include/ruby/defines.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/defines.h b/include/ruby/defines.h
index 54a56ff9e6..b4d75294d4 100644
--- a/include/ruby/defines.h
+++ b/include/ruby/defines.h
@@ -244,6 +244,9 @@ void rb_ia64_flushrs(void);
#ifndef FUNC_MINIMIZED
#define FUNC_MINIMIZED(x) x
#endif
+#ifndef FUNC_UNOPTIMIZED
+#define FUNC_UNOPTIMIZED(x) x
+#endif
#ifndef RUBY_ALIAS_FUNCTION_TYPE
#define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) \
FUNC_MINIMIZED(type prot) {return (type)name args;}