From 5caa545b1d686cda511deeed091f2dbc1bb24fb3 Mon Sep 17 00:00:00 2001 From: eban Date: Fri, 30 Apr 2004 11:10:51 +0000 Subject: * time.c (SIZEOF_TIME_T): support SIZEOF_TIME_T == SIZEOF_INT. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- time.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'time.c') diff --git a/time.c b/time.c index 6dfea976e..1a7444c66 100644 --- a/time.c +++ b/time.c @@ -1259,6 +1259,8 @@ time_to_s(time) #if SIZEOF_TIME_T == SIZEOF_LONG typedef unsigned long unsigned_time_t; +#elif SIZEOF_TIME_T == SIZEOF_INT +typedef unsigned int unsigned_time_t; #elif SIZEOF_TIME_T == SIZEOF_LONG_LONG typedef unsigned long long unsigned_time_t; #else -- cgit