mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
863e24b2b1
Regardless of future features, this needs to work with kqueue descriptors across platforms. Today this will be useful for 3rd-party libraries using kqueue. In the future, Ruby may use kqueue natively and we shall ensure we can wait on it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
4 lines
184 B
Ruby
4 lines
184 B
Ruby
# frozen_string_literal: false
|
|
headers = %w(sys/types.h sys/time.h sys/event.h).select { |h| have_header(h) }
|
|
have_func('kqueue', headers)
|
|
create_makefile("-test-/wait_for_single_fd")
|