about summary refs log tree commit homepage
path: root/test/test_syssend.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_syssend.rb')
-rw-r--r--test/test_syssend.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_syssend.rb b/test/test_syssend.rb
index 5089ce3..7d2511a 100644
--- a/test/test_syssend.rb
+++ b/test/test_syssend.rb
@@ -40,4 +40,4 @@ class TestKgioSyssend < Test::Unit::TestCase
   ensure
     [ srv, acc, client ].each { |io| io.close if io }
   end
-end if RUBY_PLATFORM =~ /linux/
+end if RUBY_PLATFORM =~ /linux/ && Socket.const_defined?(:MSG_MORE)