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
commitca829d5926fa476efc98075fc5788e6e70358cf8 (patch)
treea9529185954c4427f1db419b9ceecefbe4bf2256 /ext/io/wait/lib
parente41b0ce6a323806317573d91ecb8ab3a1d9c988f (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/trunk@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 46511fb40c0..2103fdf25b4 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)