From 51453eab5df45a08a878832c48c4819067c525dc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 3 Sep 2006 03:49:38 +0000 Subject: [PATCH] Forgotten macros --- ChangeLog | 4 ++++ glib/gtimer.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2f2de6a49..98ffe2137 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-09-02 Matthias Clasen + + * glib/gtimer.c: Forgotten HAVE_CLOCK_GETTIME. + 2006-09-02 Tor Lillqvist * glib/gutils.c (g_get_any_init_do): Correct C99ism (mixed diff --git a/glib/gtimer.c b/glib/gtimer.c index b0bfab172..c58b9b9f9 100644 --- a/glib/gtimer.c +++ b/glib/gtimer.c @@ -257,7 +257,7 @@ g_timer_elapsed (GTimer *timer, if (microseconds) *microseconds = (elapsed / 10) % 1000000; -#elif HAVE_CLOCK_GETTIME +#elif USE_CLOCK_GETTIME if (timer->active) GETTIME (timer->end);