diff options
Diffstat (limited to 'ext/kgio/extconf.rb')
-rw-r--r-- | ext/kgio/extconf.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/kgio/extconf.rb b/ext/kgio/extconf.rb index 5fb15ac..44888dd 100644 --- a/ext/kgio/extconf.rb +++ b/ext/kgio/extconf.rb @@ -46,6 +46,8 @@ have_func('rb_io_ascii8bit_binmode') have_func('rb_update_max_fd') have_func('rb_fd_fix_cloexec') have_func('rb_cloexec_open') +have_header('ruby/thread.h') +have_func('rb_thread_call_without_gvl', %w{ruby/thread.h}) have_func('rb_thread_blocking_region') have_func('rb_thread_io_blocking_region') have_func('rb_str_set_len') |