mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00

(https://github.com/ruby/stringio/pull/129)
Companion PR to <https://github.com/ruby/ruby/pull/7894>.
2d3988e12f
9 lines
202 B
Ruby
9 lines
202 B
Ruby
# frozen_string_literal: false
|
|
require 'mkmf'
|
|
if RUBY_ENGINE == 'ruby'
|
|
have_type("rb_io_mode_t", "ruby/io.h")
|
|
|
|
create_makefile('stringio')
|
|
else
|
|
File.write('Makefile', dummy_makefile("").join)
|
|
end
|