mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fe5f47a6ee
commit
4e062d14d2
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Wed Aug 24 20:07:57 2016 Naohisa Goto <ngotogenome@gmail.com>
|
||||||
|
|
||||||
|
* 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@ruby-lang.org>
|
Wed Aug 24 16:56:26 2016 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* .gdbinit: follow r55766's VM change.
|
* .gdbinit: follow r55766's VM change.
|
||||||
|
|
|
@ -45,6 +45,9 @@ extern "C" {
|
||||||
#ifndef NOINLINE
|
#ifndef NOINLINE
|
||||||
# define NOINLINE(x) x
|
# define NOINLINE(x) x
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef ALWAYS_INLINE
|
||||||
|
# define ALWAYS_INLINE(x) x
|
||||||
|
#endif
|
||||||
#ifndef ERRORFUNC
|
#ifndef ERRORFUNC
|
||||||
# define HAVE_ATTRIBUTE_ERRORFUNC 0
|
# define HAVE_ATTRIBUTE_ERRORFUNC 0
|
||||||
# define ERRORFUNC(mesg, x) x
|
# define ERRORFUNC(mesg, x) x
|
||||||
|
|
Loading…
Add table
Reference in a new issue