ruby-changes:43925
From: ngoto <ko1@a...>
Date: Wed, 24 Aug 2016 20:08:34 +0900 (JST)
Subject: [ruby-changes:43925] ngoto:r55998 (trunk): * include/ruby/defines.h (ALWAYS_INLINE): Add alternative definition.
ngoto 2016-08-24 20:08:30 +0900 (Wed, 24 Aug 2016) New Revision: 55998 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55998 Log: * include/ruby/defines.h (ALWAYS_INLINE): Add alternative definition. Fix compile error with compilers that do not have force inline attribute, including old version of fcc on Solaris 10. Modified files: trunk/ChangeLog trunk/include/ruby/defines.h Index: ChangeLog =================================================================== --- ChangeLog (revision 55997) +++ ChangeLog (revision 55998) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Aug 24 20:07:57 2016 Naohisa Goto <ngotogenome@g...> + + * include/ruby/defines.h (ALWAYS_INLINE): Add alternative definition. + Fix compile error with compilers that do not have force inline + attribute, including old version of fcc on Solaris 10. + Wed Aug 24 16:56:26 2016 NARUSE, Yui <naruse@r...> * .gdbinit: follow r55766's VM change. Index: include/ruby/defines.h =================================================================== --- include/ruby/defines.h (revision 55997) +++ include/ruby/defines.h (revision 55998) @@ -45,6 +45,9 @@ extern "C" { https://github.com/ruby/ruby/blob/trunk/include/ruby/defines.h#L45 #ifndef NOINLINE # define NOINLINE(x) x #endif +#ifndef ALWAYS_INLINE +# define ALWAYS_INLINE(x) x +#endif #ifndef ERRORFUNC # define HAVE_ATTRIBUTE_ERRORFUNC 0 # define ERRORFUNC(mesg, x) x -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/