diff --git a/ChangeLog b/ChangeLog index 99c1a14dd5..0586d30c34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Apr 30 20:08:41 2004 WATANABE Hirofumi + + * time.c (SIZEOF_TIME_T): support SIZEOF_TIME_T == SIZEOF_INT. + Wed Apr 28 01:26:11 2004 Kazuo Saito * oniguruma.h, regparse.c: imported Oni Guruma 2.2.8. diff --git a/time.c b/time.c index 6dfea976e1..1a7444c664 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