diff options
Diffstat (limited to 'ext/stringio/extconf.rb')
| -rw-r--r-- | ext/stringio/extconf.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/stringio/extconf.rb b/ext/stringio/extconf.rb new file mode 100644 index 0000000000..0089766983 --- /dev/null +++ b/ext/stringio/extconf.rb @@ -0,0 +1,9 @@ +# 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 |
