diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-20 12:26:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-20 12:26:58 +0000 |
commit | ca829d5926fa476efc98075fc5788e6e70358cf8 (patch) | |
tree | a9529185954c4427f1db419b9ceecefbe4bf2256 /ext/io/wait/lib/nonblock.rb | |
parent | e41b0ce6a323806317573d91ecb8ab3a1d9c988f (diff) | |
download | ruby-ca829d5926fa476efc98075fc5788e6e70358cf8.tar.gz |
* 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/nonblock.rb')
-rw-r--r-- | ext/io/wait/lib/nonblock.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/wait/lib/nonblock.rb b/ext/io/wait/lib/nonblock.rb index 46511fb40c..2103fdf25b 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) |