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/trunk@17069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a31f177eaa
commit
ad494f67dd
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Jun 10 12:58:07 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/io/wait/wait.c (FIONREAD_POSSIBLE_P): suppress warnings.
|
||||
|
||||
Tue Jun 10 12:43:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* include/ruby/ruby.h (CONST_ID_CACHE): fixed statement expression.
|
||||
|
|
|
@ -30,7 +30,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
Reference in a new issue