posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
2006-03-31 Andreas Tobler <a.tobler@schweiz.ch> * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t. From-SVN: r112587
This commit is contained in:
parent
f555078868
commit
6b04402b92
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2006-03-31 Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
* posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
|
||||
|
||||
2006-03-30 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
PR java/26042:
|
||||
|
|
|
@ -71,7 +71,7 @@ _Jv_platform_nanotime ()
|
|||
{
|
||||
#ifdef HAVE_CLOCK_GETTIME
|
||||
struct timespec now;
|
||||
int id;
|
||||
clockid_t id;
|
||||
#ifdef CLOCK_MONOTONIC
|
||||
id = CLOCK_MONOTONIC;
|
||||
#elif defined (CLOCK_HIGHRES)
|
||||
|
|
Loading…
Add table
Reference in a new issue