summaryrefslogtreecommitdiff
path: root/ext/-test-/wait_for_single_fd/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/wait_for_single_fd/extconf.rb')
-rw-r--r--ext/-test-/wait_for_single_fd/extconf.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/-test-/wait_for_single_fd/extconf.rb b/ext/-test-/wait_for_single_fd/extconf.rb
index 2a976c8f4b3..c27100fb423 100644
--- a/ext/-test-/wait_for_single_fd/extconf.rb
+++ b/ext/-test-/wait_for_single_fd/extconf.rb
@@ -1,4 +1,8 @@
# frozen_string_literal: false
-headers = %w(sys/types.h sys/time.h sys/event.h).select { |h| have_header(h) }
-have_func('kqueue', headers)
+case RUBY_PLATFORM when /mingw/ then
+ # skip
+else
+ headers = %w(sys/types.h sys/time.h sys/event.h).select { |h| have_header(h) }
+ have_func('kqueue', headers)
+end
create_makefile("-test-/wait_for_single_fd")