From 3a13ffa951af1f72159d786b33dff68df43bb257 Mon Sep 17 00:00:00 2001 From: Janne Blomqvist Date: Mon, 31 Jan 2011 22:58:41 +0200 Subject: Fix GF_CLOCK_MONOTONIC from r169449 From-SVN: r169450 --- libgfortran/ChangeLog | 4 ++++ libgfortran/intrinsics/time_1.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 1c75539..8c7ad7a 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,5 +1,9 @@ 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(). * configure: Regenerated. * config.h.in: Regenerated. diff --git a/libgfortran/intrinsics/time_1.h b/libgfortran/intrinsics/time_1.h index 5ee5d5a..4fd8235 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: -- cgit v1.1