summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-21 06:33:00 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-21 06:33:00 +0000
commitebee33c230a10f26625ad6770ffe3442ca135aa0 (patch)
tree64ad3bac067cfe94d93f8a3229b06f6a8526cbf2
parentd34e344d3bfc6d88656d1dbcfcfc35c271f157cf (diff)
downloadruby-ebee33c230a10f26625ad6770ffe3442ca135aa0.tar.gz
ruby-ebee33c230a10f26625ad6770ffe3442ca135aa0.tar.xz
ruby-ebee33c230a10f26625ad6770ffe3442ca135aa0.zip
* time.c: should use LONG_LONG instead of `long long'.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog2
-rw-r--r--time.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4c906cd5b..5e1de6c19 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,8 @@ Fri Oct 21 15:27:17 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
(but I believe this won't cause actual bug in current implementation)
[ruby-dev:27055]
+ * time.c: should use LONG_LONG instead of `long long'.
+
Thu Oct 20 09:37:15 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* lib/mkmf.rb (create_makefile): Borland make seems not to allow
diff --git a/time.c b/time.c
index e95beb25c..1fd601a00 100644
--- a/time.c
+++ b/time.c
@@ -1260,7 +1260,7 @@ 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;
+typedef unsigned LONG_LONG unsigned_time_t;
#else
# error cannot find integer type which size is same as time_t.
#endif