1
0
Fork 0
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:
nobu 2008-06-10 03:58:09 +00:00
parent b9f96b8829
commit 5007c34619
2 changed files with 5 additions and 1 deletions

View file

@ -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));