1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
naruse 2018-12-06 10:02:04 +00:00
parent 9d17024095
commit 956d35e2d0
2 changed files with 5 additions and 1 deletions

View file

@ -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)

View file

@ -1296,7 +1296,6 @@ VALUE rb_to_array_type(VALUE obj);
VALUE rb_check_to_array(VALUE ary);
VALUE rb_ary_tmp_new_from_values(VALUE, long, const VALUE *);
VALUE rb_ary_behead(VALUE, long);
VALUE *rb_ary_ptr_use_start(VALUE ary);
#if defined(__GNUC__) && defined(HAVE_VA_ARGS_MACRO)
#define rb_ary_new_from_args(n, ...) \
__extension__ ({ \