Commit 6b04402b by Andreas Tobler Committed by Andreas Tobler

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
parent f5550788
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> 2006-03-30 Tom Tromey <tromey@redhat.com>
PR java/26042: PR java/26042:
......
...@@ -71,7 +71,7 @@ _Jv_platform_nanotime () ...@@ -71,7 +71,7 @@ _Jv_platform_nanotime ()
{ {
#ifdef HAVE_CLOCK_GETTIME #ifdef HAVE_CLOCK_GETTIME
struct timespec now; struct timespec now;
int id; clockid_t id;
#ifdef CLOCK_MONOTONIC #ifdef CLOCK_MONOTONIC
id = CLOCK_MONOTONIC; id = CLOCK_MONOTONIC;
#elif defined (CLOCK_HIGHRES) #elif defined (CLOCK_HIGHRES)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment