Fix GF_CLOCK_MONOTONIC from r169449
From-SVN: r169450
This commit is contained in:
parent
b6e7a3d1f9
commit
3a13ffa951
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2011-01-31 Janne Blomqvist <jb@gcc.gnu.org>
|
||||
|
||||
* intrinsics/time_1.h: Fix definition of GF_CLOCK_MONOTONIC macro.
|
||||
|
||||
2011-01-31 Janne Blomqvist <jb@gcc.gnu.org>
|
||||
|
||||
* configure.ac: Check for clock_gettime().
|
||||
|
|
|
@ -184,7 +184,7 @@ gf_cputime (long *user_sec, long *user_usec, long *system_sec, long *system_usec
|
|||
#ifdef CLOCK_MONOTONIC
|
||||
#define GF_CLOCK_MONOTONIC CLOCK_MONOTONIC
|
||||
#else
|
||||
#define GF_CLOCK_REALTIME GF_CLOCK_REALTIME
|
||||
#define GF_CLOCK_MONOTONIC GF_CLOCK_REALTIME
|
||||
#endif
|
||||
|
||||
/* Arguments:
|
||||
|
|
Loading…
Add table
Reference in a new issue