зеркало из https://github.com/github/ruby.git
* include/ruby/intern.h (rb_fd_resize): does nothing on Win32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a3e7e369bc
Коммит
03dbd024ee
|
@ -1,3 +1,7 @@
|
|||
Sun Apr 5 18:02:54 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* include/ruby/intern.h (rb_fd_resize): does nothing on Win32.
|
||||
|
||||
Sat Apr 4 17:05:15 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* include/ruby/intern.h (RB_NUM_COERCE_FUNCS_NEED_OPID): macro to
|
||||
|
|
|
@ -232,6 +232,7 @@ void rb_fd_set(int, rb_fdset_t *);
|
|||
#define rb_fd_clr(n, f) rb_w32_fdclr(n, (f)->fdset)
|
||||
#define rb_fd_isset(n, f) rb_w32_fdisset(n, (f)->fdset)
|
||||
#define rb_fd_select(n, rfds, wfds, efds, timeout) rb_w32_select(n, (rfds) ? ((rb_fdset_t*)rfds)->fdset : NULL, (wfds) ? ((rb_fdset_t*)wfds)->fdset : NULL, (efds) ? ((rb_fdset_t*)efds)->fdset: NULL, timeout)
|
||||
#define rb_fd_resize(n, f) (void)(f)
|
||||
|
||||
#define rb_fd_ptr(f) ((f)->fdset)
|
||||
#define rb_fd_max(f) ((f)->fdset->fd_count)
|
||||
|
|
Загрузка…
Ссылка в новой задаче