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

Removed declarations conflicting on MinGW

This commit is contained in:
Nobuyoshi Nakada 2020-12-27 18:29:53 +09:00
parent ecfbd97292
commit 0a2e4a8f0c
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -185,9 +185,6 @@ memory_view_fill_contiguous_strides(VALUE mod, VALUE ndim_v, VALUE item_size_v,
static VALUE static VALUE
memory_view_get_ref_count(VALUE obj) memory_view_get_ref_count(VALUE obj)
{ {
extern VALUE rb_memory_view_exported_object_registry;
extern const rb_data_type_t rb_memory_view_exported_object_registry_data_type;
if (rb_memory_view_exported_object_registry == Qundef) { if (rb_memory_view_exported_object_registry == Qundef) {
return Qnil; return Qnil;
} }