1
0
Fork 0
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:
nobu 2011-07-08 07:01:12 +00:00
parent 9878d2199c
commit 837e73ab6d

View file

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