diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | gc.c | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -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. @@ -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 |