mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-28 22:34:03 +08:00
Fix GF_CLOCK_MONOTONIC from r169449
From-SVN: r169450
This commit is contained in:
parent
b6e7a3d1f9
commit
3a13ffa951
@ -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…
Reference in New Issue
Block a user