mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* thread.c (cmp_tv, subtract_tv): no longer used on Win32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9878d2199c
commit
837e73ab6d
1 changed files with 2 additions and 2 deletions
4
thread.c
4
thread.c
|
@ -2482,7 +2482,7 @@ rb_fd_set(int fd, rb_fdset_t *set)
|
|||
|
||||
#endif
|
||||
|
||||
#if defined(__CYGWIN__) || defined(_WIN32)
|
||||
#if defined(__CYGWIN__)
|
||||
static long
|
||||
cmp_tv(const struct timeval *a, const struct timeval *b)
|
||||
{
|
||||
|
@ -2519,7 +2519,7 @@ do_select(int n, rb_fdset_t *read, rb_fdset_t *write, rb_fdset_t *except,
|
|||
rb_fdset_t UNINITIALIZED_VAR(orig_except);
|
||||
double limit = 0;
|
||||
struct timeval wait_rest;
|
||||
# if defined(__CYGWIN__) || defined(_WIN32)
|
||||
# if defined(__CYGWIN__)
|
||||
struct timeval start_time;
|
||||
# endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue