summaryrefslogtreecommitdiff
path: root/ext/io/wait/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-20 12:26:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-20 12:26:58 +0000
commit8d0316c5aba7783c546350514c2b9add23c1ed9f (patch)
treec1947e6b4cc63c93f66096f2fcdc2f8aaab78811 /ext/io/wait/lib
parentb160528bbbffd40e60f41b768d1ba9d034dfb588 (diff)
* ext/io/wait/lib/nonblock.rb: disable on platforms non-blocking flag
is not available. fixed: [ruby-dev:27187] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io/wait/lib')
-rw-r--r--ext/io/wait/lib/nonblock.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/wait/lib/nonblock.rb b/ext/io/wait/lib/nonblock.rb
index 46511fb..2103fdf 100644
--- a/ext/io/wait/lib/nonblock.rb
+++ b/ext/io/wait/lib/nonblock.rb
@@ -20,4 +20,4 @@ class IO
ensure
self.nonblock = nb
end
-end
+end if defined?(Fcntl::F_GETFL)