diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index afd5bfefa..8449a672f 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -18,8 +18,6 @@ Logging::message "=== OpenSSL for Ruby configurator ===\n" -have_func("rb_io_descriptor") - ## # Adds -DOSSL_DEBUG for compilation and some more targets when GCC is used # To turn it on, use: --with-debug or --enable-debug @@ -29,6 +27,7 @@ end $defs.push("-D""OPENSSL_SUPPRESS_DEPRECATED") +have_func("rb_io_descriptor", "ruby/io.h") have_func("rb_io_maybe_wait(0, Qnil, Qnil, Qnil)", "ruby/io.h") # Ruby 3.1 Logging::message "=== Checking for system dependent stuff... ===\n"