diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-02 18:57:06 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-02 18:57:06 +0000 |
commit | 88559ce46ed1af86a57738cedccdc28ba1f0e549 (patch) | |
tree | 9d778774efb85090bccf865438dec9c2b260031f /include/ruby | |
parent | 0a1e7d1568584f22f743347c5e3b64dbf705dd83 (diff) | |
download | ruby-88559ce46ed1af86a57738cedccdc28ba1f0e549.tar.gz |
* include/ruby/intern.h (rb_w32_fdcopy): add prototype. fixes
#4640
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index c66064f8be..efb2814e6f 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -270,6 +270,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_copy(d, s) rb_w32_fdcopy((d), (s)) +void rb_w32_fdcopy(rb_fdset_t *dst, const rb_fdset_t *src); #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)) |