mirror of git://gcc.gnu.org/git/gcc.git
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>
|
2011-01-31 Janne Blomqvist <jb@gcc.gnu.org>
|
||||||
|
|
||||||
* configure.ac: Check for clock_gettime().
|
* 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
|
#ifdef CLOCK_MONOTONIC
|
||||||
#define GF_CLOCK_MONOTONIC CLOCK_MONOTONIC
|
#define GF_CLOCK_MONOTONIC CLOCK_MONOTONIC
|
||||||
#else
|
#else
|
||||||
#define GF_CLOCK_REALTIME GF_CLOCK_REALTIME
|
#define GF_CLOCK_MONOTONIC GF_CLOCK_REALTIME
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Arguments:
|
/* Arguments:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue