From: jb Date: Mon, 31 Jan 2011 20:58:41 +0000 (+0000) Subject: Fix GF_CLOCK_MONOTONIC from r169449 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eefde0f247126a53aa34e598f62c94b15cbce3e3;p=thirdparty%2Fgcc.git Fix GF_CLOCK_MONOTONIC from r169449 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169450 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 1c7553904a78..8c7ad7a7c86b 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 5ee5d5acb4a5..4fd823568524 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: