diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-30 11:10:51 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-30 11:10:51 +0000 |
commit | 76546b54897069aaddd2e4cf56e62909f450d5f0 (patch) | |
tree | d97de37175421b275ddf4d54c5ca3dd2ce1b56f3 /time.c | |
parent | ce4078d5bdbcafc6b5f4b72292cab6bad1c4f6a0 (diff) | |
download | ruby-76546b54897069aaddd2e4cf56e62909f450d5f0.tar.gz |
* 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
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |