]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix GF_CLOCK_MONOTONIC from r169449
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Jan 2011 20:58:41 +0000 (20:58 +0000)
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Jan 2011 20:58:41 +0000 (20:58 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169450 138bc75d-0d04-0410-961f-82ee72b054a4

libgfortran/ChangeLog
libgfortran/intrinsics/time_1.h

index 1c7553904a78de3f37de6cb1e11cb25ddf2538cf..8c7ad7a7c86b2c4c9fcd8c0b6daad05d6087a5d7 100644 (file)
@@ -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>
 
        * configure.ac: Check for clock_gettime().
index 5ee5d5acb4a55bf11dacdf0ced96cbf1be436ee0..4fd82356852483222e32303f9e07c6c68779b362 100644 (file)
@@ -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: