diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 1c7553904a7..8c7ad7a7c86 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,7 @@ +2011-01-31 Janne Blomqvist + + * intrinsics/time_1.h: Fix definition of GF_CLOCK_MONOTONIC macro. + 2011-01-31 Janne Blomqvist * configure.ac: Check for clock_gettime(). diff --git a/libgfortran/intrinsics/time_1.h b/libgfortran/intrinsics/time_1.h index 5ee5d5acb4a..4fd82356852 100644 --- a/libgfortran/intrinsics/time_1.h +++ b/libgfortran/intrinsics/time_1.h @@ -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: