diff options
author | jb <jb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-31 20:58:41 +0000 |
---|---|---|
committer | jb <jb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-31 20:58:41 +0000 |
commit | eefde0f247126a53aa34e598f62c94b15cbce3e3 (patch) | |
tree | 73db0ea4eb678bca88b1412c99da66731a0a9d9a /libgfortran | |
parent | a2c0dc0f1141b57c2bbd2c6ce8ca6f4bed3f2b00 (diff) | |
download | gcc-eefde0f247126a53aa34e598f62c94b15cbce3e3.tar.gz |
Fix GF_CLOCK_MONOTONIC from r169449
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169450 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 4 | ||||
-rw-r--r-- | libgfortran/intrinsics/time_1.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 1c7553904a7..8c7ad7a7c86 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,5 +1,9 @@ 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(). * configure: Regenerated. * config.h.in: Regenerated. 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: |