Skip to content

Commit

Permalink
Fix detection?
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed May 29, 2023
1 parent 8a0cff6 commit 48a3316
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ext/openssl/extconf.rb
Expand Up @@ -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
Expand All @@ -29,6 +27,7 @@
end
$defs.push("-D""OPENSSL_SUPPRESS_DEPRECATED")

have_func("rb_io_descriptor(Qnil)", "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"
Expand Down

0 comments on commit 48a3316

Please sign in to comment.