mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-20 11:23:57 +08:00
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
@ -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…
Reference in New Issue
Block a user