From bfb0edbad29074ff186840731069fb202456a7aa Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 26 Mar 2013 14:45:55 +0000 Subject: * 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 --- time.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'time.c') diff --git a/time.c b/time.c index f5cc691a61..b89665ccda 100644 --- a/time.c +++ b/time.c @@ -736,9 +736,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)) -#define TIMET_MIN (~(time_t)0 <= 0 ? (time_t)(((unsigned_time_t)1) << (sizeof(time_t) * CHAR_BIT - 1)) : (time_t)0) - static wideval_t rb_time_magnify(wideval_t w) { -- cgit v1.2.3