aboutsummaryrefslogtreecommitdiffstats
path: root/thread_win32.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-26 14:45:55 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-26 14:45:55 +0000
commitbfb0edbad29074ff186840731069fb202456a7aa (patch)
treed11c29ba3e3fc906261310694fef07747ce1cb62 /thread_win32.c
parent9b3d6ad13a8a38e4e85d9a77cee2c4bbfa8f3f66 (diff)
downloadruby-bfb0edbad29074ff186840731069fb202456a7aa.tar.gz
* internal.h: Define TIMET_MAX and TIMET_MIN here.
* time.c: Remove TIMET_MAX and TIMET_MIN definitions. * thread.c: Ditto. * thread_pthread.c: Remove TIMET_MAX definition. * thread_win32.c: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/thread_win32.c b/thread_win32.c
index d5858692e9..29700c84f4 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -516,8 +516,6 @@ typedef unsigned LONG_LONG unsigned_time_t;
# error cannot find integer type which size is same as time_t.
#endif
-#define TIMET_MAX (~(time_t)0 <= 0 ? (time_t)((~(unsigned_time_t)0) >> 1) : (time_t)(~(unsigned_time_t)0))
-
static struct timespec
native_cond_timeout(rb_thread_cond_t *cond, struct timespec timeout_rel)
{