summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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)