From 1e6e5b299c235b513095a76a4cd9fffc41e8fc9c Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 17 Jun 2002 18:36:36 +0000 Subject: beginning to sync up for 2.2.5 release.... --- source/lib/time.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'source/lib/time.c') diff --git a/source/lib/time.c b/source/lib/time.c index 43c8ca67dd4..aa433a769c6 100644 --- a/source/lib/time.c +++ b/source/lib/time.c @@ -33,14 +33,6 @@ int extra_time_offset = 0; #define CHAR_BIT 8 #endif -#ifndef TIME_T_MIN -#define TIME_T_MIN ((time_t)0 < (time_t) -1 ? (time_t) 0 \ - : ~ (time_t) 0 << (sizeof (time_t) * CHAR_BIT - 1)) -#endif -#ifndef TIME_T_MAX -#define TIME_T_MAX (~ (time_t) 0 - TIME_T_MIN) -#endif - /******************************************************************* External access to time_t_min and time_t_max. ********************************************************************/ @@ -414,7 +406,7 @@ void unix_to_nt_time(NTTIME *nt, time_t t) } /* this converts GMT to kludge-GMT */ - t -= LocTimeDiff(t) - get_serverzone(); + t -= TimeDiff(t) - get_serverzone(); d = (double)(t); d += TIME_FIXUP_CONSTANT; -- cgit