summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-06 10:02:04 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-06 10:02:04 +0000
commit956d35e2d00e331ad2bbf601db5f05bbf7097be8 (patch)
treef882f19699302c90666e88d486f102c7294eaacd /include
parent9d170240957813fc5a4758081676d80cc97c3785 (diff)
refix of r66200
Though internal.h has the prototype, it still shows symbol lookup error... https://rubyci.org/logs/rubyci.s3.amazonaws.com/icc-x64/ruby-trunk/log/20181206T050002Z.fail.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/ruby.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 9e9423e810..649ece290a 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -2163,6 +2163,11 @@ rb_array_const_ptr(VALUE a)
return rb_array_const_ptr_transient(a);
}
+/* fix related to r66200 */
+#ifdef __INTEL_COMPILER
+VALUE *rb_ary_ptr_use_start(VALUE ary);
+#endif
+
/* internal function. do not use this function */
static inline VALUE *
rb_array_ptr_use_start(VALUE a, int allow_transient)