Sha256: 7c7db8bbd8952ab795096b0ca2228e3c25f63a2bd71e0469fa6e3bb83da9db1f

Contents?: true

Size: 692 Bytes

Versions: 1

Compression:

Stored size: 692 Bytes

Contents

require 'mkmf'
have_header('sys/epoll.h') or abort 'sys/epoll.h not found'
have_header('sys/eventfd.h')

# it's impossible to use signalfd reliably with Ruby since Ruby currently
# manages # (and overrides) all signal handling
# have_header('sys/signalfd.h')

have_header('sys/timerfd.h')
have_header('sys/inotify.h')
have_header('ruby/io.h') and have_struct_member('rb_io_t', 'fd', 'ruby/io.h')
have_func('epoll_create1', %w(sys/epoll.h))
have_func('rb_thread_call_without_gvl')
have_func('rb_thread_blocking_region')
have_func('rb_thread_io_blocking_region')
have_func('rb_thread_fd_close')
have_func('rb_update_max_fd')
have_func('rb_fd_fix_cloexec')
create_makefile('sleepy_penguin_ext')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sleepy_penguin-3.1.0.26.g7181 ext/sleepy_penguin/extconf.rb