From ff113d52f799d433b6d5d96f86944d2d761e3530 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 1 Dec 2015 01:05:48 +0000 Subject: 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 --- include/ruby/defines.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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;} -- cgit v1.2.3