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

[ruby/io-console] Enable building the C extension on TruffleRuby.

https://github.com/ruby/io-console/commit/c17b8cf3a9
This commit is contained in:
Duncan MacGregor 2021-02-05 12:03:39 +00:00 committed by Hiroshi SHIBATA
parent 537fc3ad5c
commit 042860bd65
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -1,7 +1,7 @@
# frozen_string_literal: false
require 'mkmf'
ok = true if RUBY_ENGINE == "ruby"
ok = true if RUBY_ENGINE == "ruby" || RUBY_ENGINE == "truffleruby"
hdr = nil
case
when macro_defined?("_WIN32", "")