mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/io/wait/wait.c (FIONREAD_POSSIBLE_P): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b9f96b8829
commit
5007c34619
2 changed files with 5 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
#ifdef HAVE_RB_W32_IS_SOCKET
|
||||
#define FIONREAD_POSSIBLE_P(fd) rb_w32_is_socket(fd)
|
||||
#else
|
||||
#define FIONREAD_POSSIBLE_P(fd) ((fd),Qtrue)
|
||||
#define FIONREAD_POSSIBLE_P(fd) ((void)(fd),Qtrue)
|
||||
#endif
|
||||
|
||||
static VALUE io_ready_p _((VALUE io));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue