mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Forgotten macros
This commit is contained in:
parent
e1ac935e44
commit
51453eab5d
@ -1,3 +1,7 @@
|
||||
2006-09-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gtimer.c: Forgotten HAVE_CLOCK_GETTIME.
|
||||
|
||||
2006-09-02 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/gutils.c (g_get_any_init_do): Correct C99ism (mixed
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user