aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-24 09:37:04 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-24 09:37:04 +0000
commitd774d08a658926f82d6a7a90f0ea2aeffe331524 (patch)
treeb147dc8d323c809b190b7d2bce5668fe0274d871 /vm_insnhelper.c
parenta86b5a62ca4657220d7586ccef9fc64da166f307 (diff)
downloadruby-d774d08a658926f82d6a7a90f0ea2aeffe331524.tar.gz
* vm_insnhelper.c (INLINE): disbale r54738 if __NO_INLINE__ is defined.
It caused "undefined reference to `vm_getivar'". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
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