diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | vm_insnhelper.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sun Apr 24 18:33:58 2016 Kazuki Tsujimoto <kazuki@callcc.net> + + * vm_insnhelper.c (INLINE): disbale r54738 if __NO_INLINE__ is defined. + It caused "undefined reference to `vm_getivar'". + Sun Apr 24 09:32:12 2016 Yuichiro Kaneko <yui-knk@ruby-lang.org> * test/ruby/test_array.rb: Add test cases for Array#sum with diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 6d9973eb04..eef87df9e6 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -19,7 +19,7 @@ /* control stack frame */ #undef INLINE -#if defined __GNUC__ && !defined __clang__ +#if defined __GNUC__ && !defined(__NO_INLINE__) && !defined __clang__ #define INLINE inline #else #define INLINE static inline |