mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a85a9d31db
commit
dea6ce41b4
13 changed files with 103 additions and 37 deletions
6
time.c
6
time.c
|
@ -946,7 +946,11 @@ time_s_times(obj)
|
|||
{
|
||||
#ifdef HAVE_TIMES
|
||||
#ifndef HZ
|
||||
#define HZ 60 /* Universal constant :-) */
|
||||
# ifdef CLK_TCK
|
||||
# define HZ CLK_TCK
|
||||
# else
|
||||
# define HZ 60
|
||||
# endif
|
||||
#endif /* HZ */
|
||||
struct tms buf;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue