1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* gc.c (getrusage_time): should return the value.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-08-14 05:57:58 +00:00
parent 914969a040
commit 2c20dd1473
2 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,6 @@
Thu Aug 14 14:56:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
Thu Aug 14 14:57:46 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (getrusage_time): should return the value.
* thread.c (rb_thread_priority_set): get rid of C99 feature.

1
gc.c
View file

@ -140,6 +140,7 @@ getrusage_time(void)
t += (double)(DWORD)(q >> 16) * (1 << 16);
t += (DWORD)q & ~(~0 << 16);
#endif
return t;
#else
return 0.0;
#endif