ext/sleepy_penguin/extconf.rb in sleepy_penguin-3.4.1 vs ext/sleepy_penguin/extconf.rb in sleepy_penguin-3.5.0
- old
+ new
@@ -4,10 +4,11 @@
if have_header('sys/event.h')
have_library('kqueue')
end
have_header('sys/mount.h')
have_header('sys/eventfd.h')
+have_header('sys/sendfile.h')
# it's impossible to use signalfd reliably with Ruby since Ruby currently
# manages # (and overrides) all signal handling
# have_header('sys/signalfd.h')
@@ -17,11 +18,16 @@
unless have_macro('CLOCK_MONOTONIC', 'time.h')
have_func('CLOCK_MONOTONIC', 'time.h')
end
have_type('clockid_t', 'time.h')
have_func('clock_gettime', 'time.h')
+have_func('copy_file_range')
have_func('epoll_create1', %w(sys/epoll.h))
have_func('inotify_init1', %w(sys/inotify.h))
+have_func('splice', %w(fcntl.h))
+have_func('tee', %w(fcntl.h))
+have_macro('F_GETPIPE_SZ', %w(fcntl.h))
+have_macro('F_SETPIPE_SZ', %w(fcntl.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')