From 25f31536c885a987a5307384c84e85c3751c0e8f Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Mon, 29 May 2023 16:05:22 +0900 Subject: [PATCH] Fix detection? --- ext/openssl/extconf.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"