mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* time.c (SIZEOF_TIME_T): support SIZEOF_TIME_T == SIZEOF_INT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ce4078d5bd
commit
76546b5489
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Apr 30 20:08:41 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* time.c (SIZEOF_TIME_T): support SIZEOF_TIME_T == SIZEOF_INT.
|
||||
|
||||
Wed Apr 28 01:26:11 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
|
||||
|
||||
* oniguruma.h, regparse.c: imported Oni Guruma 2.2.8.
|
||||
|
|
2
time.c
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue