From: Matthias Clasen Date: Sun, 3 Sep 2006 03:49:38 +0000 (+0000) Subject: Forgotten macros X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=51453eab5df45a08a878832c48c4819067c525dc;p=dana%2Fcg-glib.git Forgotten macros --- diff --git a/ChangeLog b/ChangeLog index 2f2de6a4..98ffe213 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 b0bfab17..c58b9b9f 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);