about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-02-04 19:40:21 +0000
committerEric Wong <e@80x24.org>2014-02-04 19:41:04 +0000
commit6673121b8ec74976950bba4df3f5b9fc13ef1649 (patch)
treee497f50f1918567f94d1973bbf708ed1cdbcbc57
parentee73b835996eb84795302cf106396118ffada8e6 (diff)
downloadyahns-6673121b8ec74976950bba4df3f5b9fc13ef1649.tar.gz
We'll let systems with updated glibc headers define those
(or interested users, if any, on those architectures test
and report back to us).  No point in causing unnecessary
breakage if we screw things up.
-rw-r--r--lib/yahns/socket_helper.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/yahns/socket_helper.rb b/lib/yahns/socket_helper.rb
index 0f9b3d9..6e1830f 100644
--- a/lib/yahns/socket_helper.rb
+++ b/lib/yahns/socket_helper.rb
@@ -9,11 +9,7 @@ module Yahns::SocketHelper # :nodoc:
     if defined?(Socket::SO_REUSEPORT)
       Socket::SO_REUSEPORT
     elsif RUBY_PLATFORM =~ /linux/
-      if RUBY_PLATFORM =~ /(?:alpha|mips|parisc|sparc)/
-        0x0200 # untested
-      else
-        15 # only tested on x86_64 and i686
-      end
+      15 # only tested on x86_64 and i686
     else
       nil
     end