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 | 9a829c0366d5a16ee8c94fc51302d5c3853116a8 (patch) | |
tree | 8ef97c0112356a1b21e056327c613b1650683349 /time.c | |
parent | e862304d14aa2c83288e144fd767eabf347b7ffb (diff) | |
download | ruby-9a829c0366d5a16ee8c94fc51302d5c3853116a8.tar.gz ruby-9a829c0366d5a16ee8c94fc51302d5c3853116a8.tar.xz ruby-9a829c0366d5a16ee8c94fc51302d5c3853116a8.zip |
* time.c (SIZEOF_TIME_T): support SIZEOF_TIME_T == SIZEOF_INT.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1256,6 +1256,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 |