summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan MacGregor <duncan.macgregor@oracle.com>2021-02-05 12:03:39 +0000
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-04-22 11:51:37 +0900
commit042860bd65532fea95159774da94adc48bf7b958 (patch)
treee154373be9f9a35052279f0930a91b20d450cc55
parent537fc3ad5c5ed48a28d6cdd898ff6f41e9376b0e (diff)
[ruby/io-console] Enable building the C extension on TruffleRuby.
https://github.com/ruby/io-console/commit/c17b8cf3a9
-rw-r--r--ext/io/console/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/extconf.rb b/ext/io/console/extconf.rb
index 32ad9d3311..e8c5923b18 100644
--- a/ext/io/console/extconf.rb
+++ b/ext/io/console/extconf.rb
@@ -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", "")